Pages Navigation Menu

Managing a database

Managing a KitaroDB database

For verification, optimization, and recovery of KitaroDB data stores, see kdbutl. For information on keys and segments, see Getting information about keys and segments.

Renaming a database

To rename a KitaroDB database (i.e., rename both the index and the data files for a database), use the static method DB.Rename[Async].

Deleting a database

To delete a KitaroDB database, pass the database filename (the name of the index file) to DB.Purge[Async]. This deletes the index file and the data file.

Getting the maximum record length

To retrieve the maximum record length for a database, use the DB.MaxRecordLength property, which stores this value in bytes.