This is the total size the database engine tries to enforce for the .pack and .idindex files in the database subdirectory. When the total size exceeds this value, the system will force vacuuming to free up space occupied by unused space in pack files. Performance will constantly be degraded when the database is exceeding the maximum because the system will is forced to vacuum all files in order to eliminate vacuumed files in the middle of a sequence of .pack files.
- Default Value
If the db_size
option is not defined, the default value of 21474836480
is used.
- Example
-
db_size=21474836480
- Database Configuration Options
This option key is associated with the RDM_DB handle (or RDM_CPP::Db for C++) and can be set using one of the following functions:
- SQLSetConnectAttr()
- rdm_dbSetOption()
- rdm_dbSetOptions()
- RDM_CPP::Db::SetOption()
- RDM_CPP::Db::SetOptions()
- See also
- vacuuming