View Single Post
Old 06-10-2015, 09:13 AM   #51
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by DrChiper View Post
However, I did noticed that still a lot of queries where made for:
- metadata.db-journal
- metadata.db-wal
These files never existed (and are certainly not created during the calibre library inspection), so why the repetitive querying?
These files are part of the SQLite transaction/journal handling. I know that they can get created and removed dynamically while making changes to the database. I think they always disappear on a tidy closedown, but can get left behind after a crash (and are presumably used for recovery on the next run).

I suspect that the handling of those files is internal to the SQLite library code and never visible to the higher level Calibre code.
itimpi is offline   Reply With Quote