Closed eigenein closed 3 years ago
Try setting to 1000: https://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint
1000
.rw-r--r-- 118k pi 30 Sep 16:00 my-iot.sqlite3 .rw-r--r-- 12M pi 13 Oct 14:14 my-iot.sqlite3-shm .rw-r--r-- 7.0G pi 13 Oct 14:08 my-iot.sqlite3-wal
This actually may be okay, since all automatic checkpoints are PASSIVE which means the journal file doesn't get truncated.
PASSIVE
Try setting to
1000
: https://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint