The Vacuum
function rebuilds your database file to minimize disk space usage.
This function is particularly useful when attachments have been added and then deleted from your database. When you delete attachments, the database file doesn't automatically shrink - instead, the freed space remains available for future use.
To optimize your database and reclaim unused disk space:
1. Go to the Businesses
tab.
2. Locate your business and check its disk space usage. Click on the disk space figure to open the Vacuum
screen.
3. On the Vacuum
screen, click the Vacuum
button to start the optimization process.
The vacuum operation duration depends on your database size. It can take anywhere from a few seconds to several minutes to complete.
The Vacuum
function will fail if the database is corrupted and cannot be rebuilt. In such cases, the database must be repaired before vacuum can be performed.
For more information about database corruption, see: Corrupt Database