Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
timewizard
· 1y ago · 0 comments
Enabling WAL mode means you don't have a single file anymore.
Comments
[–]
catgirlinspace
1y ago
You could do a checkpoint first though I believe? And if the database is only being updated on your local client I don’t think WAL mode would have much benefit since it’s probably not getting many concurrent writes.
[–]
timewizard
OP
1y ago
The WAL has a minimum size. In this context I assumed you would not be using SQLite to serve requests serially.
[–]
pstuart
1y ago
More work than grabbing a single file but still easy enough to use:
https://www.sqlite.org/backup.html