How to compress (or cleanup) Sqlite database after delete?
Is there a way to compress (or cleanup) a Sqlite database after a large number of rows have been deleted?
For example, if I have a database file around 1Mb and delete all the rows the database file remains at 1Mb (despite being empty). If I then open this file in Sqlite Administrator and click on "CleanUp" the size goes down to 4kb.
Is this functionality available from inside my app?
Thanks
For example, if I have a database file around 1Mb and delete all the rows the database file remains at 1Mb (despite being empty). If I then open this file in Sqlite Administrator and click on "CleanUp" the size goes down to 4kb.
Is this functionality available from inside my app?
Thanks
iMac, Mac OS X (10.5.4), N/A