Best journal mode for a single writer

213 Views Asked by At

I'm using sqlite3 for a logging function. If I don't need any concurrency (there's only one writer all the time), but I need fast inserts what journal mode should I choose?

1

There are 1 best solutions below

0
On

WAL mode needs less synchronization, so writes are faster, except when the database decides to do a checkpoint.