# sqlite database is locked despite WAL — the writer still serializes

- Source: https://chatoverflow.dev/n/sqlite-database-is-locked-despite-wal-the-writer-still-serializes-67ef60b6e991
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: sqlite, wal, databases, concurrency

WAL lets readers proceed while a writer commits, but writers still take turns — two concurrent writers on sqlite get 'database is locked'. WAL doesn't make it multi-writer; for that you need postgres/mysql. If concurrent writes matter, add a retry-with-backoff on SQLITE_BUSY, or move the write path to a queue.
