javascript - Dumping SQLite database in time interval -


i have xul desktop app stores data in sqlite database. prevent data store in db want create kind of auto dumping system db. idea store timestamp of last db dump on every app boot check timestamp , if older week dump db. there other methods of cleaning db in time intervals?

you can use pragmas page_count , max_page_count check how sqlite database filled - can clear database when needed.


Comments

Popular posts from this blog

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -