Anyway to shrink the file size?

This is the international (english) support forum for the SQLite Administrator developed and maintained by Orbmu2k.

Moderators: gto, EgonHugeist, Orbmu2k

Locked
matthew
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 06.08.2008, 19:28

Anyway to shrink the file size?

Post by matthew »

If I delete a table, the file size stays the same as the maximum size the file reached. Is there a query I can run or a feature I'm missing to be able to shrink the file size of the db?
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

I'm not sure how SQLite Administrator manages it but see http://www.sqlite.org/lang_vacuum.html for the standard SQLite command.

Regards,

Ben
Orbmu2k
SQLite Admin Developer
SQLite Admin Developer
Posts: 38
Joined: 07.12.2005, 07:51
Contact:

Post by Orbmu2k »

yes, the "clean up database" menu item does the vacuum command for you
Locked