Dear SQLite developers,

Sqlite version: 3.8.8.3
Linux version: 3.10.31-ltsi

Question:
We found when updated a sqlite database in emmc disk, it cannot remove journal file as soon as the transaction finished.
We know after the transaction finishes, SQLite will unlink the journal file.
But when we update a database and shut down in about 2~3s, the journal file still exists after system startups. It seems unlink() file would not remove it immediately, until kernel call sync() to flush disk. So, does this correspond to SQLite's design? Or could you give me some suggestion how to remove the journal file quickly.


Cordially yours

LiuXiang
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to