The data store used by Citadel is reliable and self-maintaining. It requires very little maintenance. This is primarily due to its use of the [[http://www.sleepycat.com|Berkeley DB]] record manager. It is robust, high-performance, and transactional.

+

The data store used by Citadel is reliable and self-maintaining. It requires very little manual administration. This is primarily due to its use of the [[http://www.google.com/search?q=berkeley+db|Berkeley DB]] record manager. It is robust, high-performance, and transactional.

A few small data files are kept in your main Citadel directory, but the databases are in the "data/" subdirectory. The files with names that begin with "cdb" are the databases themselves; the files with names that begin with "log" are the logs (sometimes referred to as "journals"). Log files will continue to appear as you use your system; each will grow to approximately 10 megabytes in size before a new one is started. There is a system configuration setting (found in **.A**ide **S**ystem-configuration **G**eneral in the text mode client, or in Administration --> Edit site-wide configuration --> Tuning in the WebCit client) which specifies "Automatically delete committed database logs." If you have this option enabled, Citadel will automatically delete any log files whose contents have been fully committed to the database files.

A few small data files are kept in your main Citadel directory, but the databases are in the "data/" subdirectory. The files with names that begin with "cdb" are the databases themselves; the files with names that begin with "log" are the logs (sometimes referred to as "journals"). Log files will continue to appear as you use your system; each will grow to approximately 10 megabytes in size before a new one is started. There is a system configuration setting (found in **.A**ide **S**ystem-configuration **G**eneral in the text mode client, or in Administration --> Edit site-wide configuration --> Tuning in the WebCit client) which specifies "Automatically delete committed database logs." If you have this option enabled, Citadel will automatically delete any log files whose contents have been fully committed to the database files.

-

For more insight into how the database and log files work, you may wish to read the [[http://www.sleepycat.com/docs/ref/transapp/archival.html|Berkeley DB documentation]] on this subject.

+

For more insight into how the database and log files work, you may wish to read the [[http://www.google.com/search?q=berkeley+db+archival|Berkeley DB documentation]] on this subject.