
WAL Mode: One Writer, Many Readers
SQLite's default journal blocks readers during a write. WAL mode does not, and that single difference decides whether SQLite suits a concurrent service.
· 2 min
Databases · Queries · Operations
In-depth articles on PostgreSQL, MySQL, SQL Server, Oracle and modern data engineering — written for developers, analysts and database administrators.
latest

SQLite's default journal blocks readers during a write. WAL mode does not, and that single difference decides whether SQLite suits a concurrent service.
· 2 min

Relational modeling describes the entities and lets queries follow. Document modeling inverts that, and the inversion is the whole trade.
· 4 min

Past the point where the server can execute work in parallel, adding connections adds queueing rather than throughput — and moves the queue somewhere worse.
· 4 min

Column order decides which queries a composite index can serve. The rule follows from the structure, and so do the cases where it does not hold.
· 3 min

InnoDB stores the table inside its primary key. Almost every MySQL indexing consequence, good and bad, follows from that single decision.
· 3 min

Transaction pooling is what makes PgBouncer worth deploying, and it silently removes session state your application may depend on.
· 3 min
Featured · sql-fundamentals
One query for the list, then one more for every item in it. The cost is per statement, which is why the profiler shows a fast database and a slow request.
2026-08-30 · 3 min
start here
series