I have XUL desktop app which stores data in SQLite database. To prevent too much data store in DB i want to create some kind of auto dumping system for my DB. My idea is to store timestamp of last DB dump so on every app boot to check for that timestamp and if it is older than week to dump DB. Are there any other methods of cleaning db in some time intervals?
Aucun commentaire:
Enregistrer un commentaire