View Single Post
Old 01-27-2025, 05:10 PM   #1462
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,921
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
The size of the -wal file depends on writing to the database. When it is first opened, the Write Ahead Logging file will start at 0 bytes. In contrast the SHared Memory file starts at 32KB and seldom grows larger. When the last connection to a database closes, that connection does one last checkpoint and then deletes the WAL and SHM file, to clean up the disk. If you see those files when USB connected, it tells you the database was not properly closed. The -wal file will not grow endlessly, the default is 1000 pages or ~4MB though there are several situations in which the file will grow past that.
Would you get a corrupt database if you plugged into the USB port without calibre running to have a look?
JSWolf is offline   Reply With Quote