Skip to content

author

Elias Rowe

Database engineer · 8 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

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

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.

· 3 min

Start typing to search the archive.