Read a PostgreSQL query plan without getting lost
Follow the work through a query plan, compare estimates with actual rows, and learn what to investigate before adding another index.
Practical answers. Deeper understanding. Find your next database breakthrough.
Follow the work through a query plan, compare estimates with actual rows, and learn what to investigate before adding another index.
Build an index around a real access pattern, then use EXPLAIN to understand what it helps—and what it doesn't.
Calculate a running total and rank orders within each customer without collapsing the underlying rows.
Follow a cache hit and miss, then work through invalidation, stale data, and the race conditions hiding between them.
A TTL controls freshness over time. An eviction policy controls what happens under memory pressure. Your cache needs both decisions.
Choose document boundaries from access patterns, growth, and update behavior rather than translating relational tables one-for-one.
Filter paid orders, group revenue by customer, and sort the result using a small dataset you can inspect by hand.
Go from a local file to a useful analytical query without standing up a database server.
Separate atomicity from isolation and learn why two individually correct transactions can still surprise each other.
Understand why checking out a shopping basket and analyzing a year of sales ask very different things of a database.
Start with one application's reads and writes, then choose partition and sort keys that make those operations direct.
Separate failover, read scaling, and point-in-time recovery before choosing your managed database configuration.