The files in the db directory are used for a variety of things... Most of the files are for storing runtime information that can be nuked across reboots the exception to that is the voicemail db... If you nuke it you lose all your voicemail metadata effectively resetting all the voicemail boxes. Data stored in there is used for various things like show calls and show channels so that we don't have to lock memory structures just to show you what calls are active and what state they are in. (this was a lessoned learned from years of seeing "avoiding deadlock" from a simple show me the calls. As far as using an alternate database yes you can... See the wiki for core odbc docs. This applies not just to the core but to several other modules individually. Also as a side note, if you are not using the voicemail module, you can mount the db directory on a ram drive. This has been shown to increse performance and reduce disk IO a fair bit... On 4/13/12 4:38 AM, "Frank Church" <vfclists@gmail.com> wrote:
I have been getting an occasional problem when freeswitch fails to start correctly. I googled around and found out that its was caused by the corruption of files in the db directory.
What runtime related information is stored in those files? Are they useful for some logging or analytical value?
Can an alternate database system be used for them?