Skip to content

author

Elias Rowe

Database engineer · 14 articles

Elias Rowe writes about database engineering, SQL performance, and production systems. He focuses on measurable behavior, practical trade-offs, and conclusions that can be reproduced rather than assumed.

PostgreSQL · MySQL · Query optimization · Data modeling · Production operations

PostgreSQL

Partial Indexes: What They Let You Avoid Indexing

A partial index is valuable because of the rows it leaves out. The useful question is not whether it is faster, but what it stops the database from maintaining.

· 4 min

PostgreSQL

Reading a Plan Tree: Start at the Leaves

A plan is a tree printed upside down. Reading it in execution order instead of top to bottom turns a wall of text into a diagnosis.

· 4 min

SQL Fundamentals

Why Your Benchmark Measured the Cache

A query run five times in a row reports the speed of memory, not of the system. Which layer answered the request is the first thing to establish.

· 3 min

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

Start typing to search the archive.