View Single Post
Old 04-15-2011, 09:52 AM   #30
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by dima_tr View Post
Hehe, it is possible to add autovacuuming using the approach described here http://www.friday.com/bbum/2007/03/0...#comment-81574

Seems to be easily done by operating global.db on local Linux machine.

Another way is to recompile libsqlite to have autovacuuming on by default (now it is off). http://www.sqlite.org/compile.html#default_autovacuum
I am not sure how long vacuuming takes, I think even auto vacuum, rewrites the complete file, so it could cause unpredictable delays. I am not sure if this works well with the idle-mechanism of the DR.
Maybe an extra item in Settings (or a simple application or script) to maintain global.db (and all the metadata.db) files. Allowing to do an integrity check and a vacuum?
Mackx is offline   Reply With Quote