Skip to content

Databases · Queries · Operations

Databases, queries and the people who run them.

In-depth articles on PostgreSQL, MySQL, SQL Server, Oracle and modern data engineering — written for developers, analysts and database administrators.

Read the archive

latest

New in the archive

All articles
SQLite

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

SQL Fundamentals

Composite Indexes: One Ordering, Not Three

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

PostgreSQL

Transaction Pooling Breaks Only Under Load

Transaction pooling is what makes PgBouncer worth deploying, and it silently removes session state your application may depend on.

· 3 min

Featured · sql-fundamentals

N+1 Queries: What the ORM Is Actually Doing

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

One article to begin with

  1. Why an Index Is Not Used: the Estimate, Not the Index

Start typing to search the archive.