Architecture exploration
PostgreSQL indexing, practically
Which index to add, why the planner ignores the one you added, and when an index makes things worse.
PostgreSQLIndexingQuery optimisationIntermediate
Engineering
Schemas, indexes and queries, mostly PostgreSQL. The decisions that are cheap now and expensive to change in a year.
Architecture exploration
Which index to add, why the planner ignores the one you added, and when an index makes things worse.
Architecture exploration
Money, history and state: the three things an order table gets wrong, and how to avoid it.