Search code examples
c#.netlitedb

Is there an equivalent of Vacuum command of SQLite in LiteDB?


Is there an equivalent of Vacuum command of SQLite in LiteDB?

The VACUUM command rebuilds the database file, repacking it into a minimal amount of disk space.


Solution

  • I guess shrink is the equivalent command you can use to achieve it in LiteDB.