Switch the database to write-ahead logging mode.
Section: WAL mode and lock handling
Enable WAL journaling
sql
sql
PRAGMA journal_mode = WAL;Explanation
WAL often improves read/write concurrency for app-style workloads.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing WAL mode and lock handling