[Freeswitch-users] what is the purpose and value of the files in the db directory?
krice at freeswitch.org
Fri Apr 13 20:16:59 MSD 2012
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
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
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
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 at 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?
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users