How to shrink the RavenDB database?
Jim_Qi
Posts: 1 New member
There is a series issues related to this RavenDB database:
1.) When installing the DLM dashboard software, is it possible to configure database location in another drive, rather than at the default C drive?
2.) Do we have a database interface or API to access Raven DB, and a way to shrink the database size?
many thanks,
Jim
1.) When installing the DLM dashboard software, is it possible to configure database location in another drive, rather than at the default C drive?
2.) Do we have a database interface or API to access Raven DB, and a way to shrink the database size?
many thanks,
Jim
Tagged:
Answers
2) Raven DB is designed to hold onto any free space by the looks of it: https://stackoverflow.com/questions/17256673/the-data-file-size-do-not-shrink-down-when-delete-from-ravendb. You'll need to look into compacting it: https://ravendb.net/docs/article-page/4.1/csharp/client-api/operations/server-wide/compact-database.