Read plans in the right order
Navigate nested plan nodes, loops, costs, actual time, and row counts without getting lost in the output.
Performance · Practical field guide
Learn how PostgreSQL executes your queries and how to tune with evidence—from EXPLAIN output and row estimates to indexes and plan comparisons.
Secure checkout via Digistore24 · Digital delivery
01 / What you'll learn
Build a mental model you can use at the keyboard, during a review, and when production asks a difficult question.
Navigate nested plan nodes, loops, costs, actual time, and row counts without getting lost in the output.
Compare expected and actual rows to understand how statistics and assumptions influence the planner.
Understand scans, index conditions, ordering, and when an index helps—or simply adds overhead.
Create a repeatable before-and-after workflow using safe tests, buffers, timing, and realistic data.
PostgreSQL in context
Move past hunting for a single magic setting. Compare estimates with reality and inspect the work PostgreSQL actually performs.
EXPLAIN (ANALYZE, BUFFERS)
SELECT o.id, o.placed_at, c.email
FROM orders o
JOIN customers c ON c.id = o.customer_id
WHERE o.status = 'pending'
ORDER BY o.placed_at DESC
LIMIT 50;
02 / Inside the manual
Move from core mechanics to practical decisions, with examples that connect the SQL to the reason behind it.
Follow a SQL statement through parsing, planning, and execution, then learn the vocabulary shared by every plan.
Compare sequential and index scans, understand join strategies, and connect operator choices to your data.
Investigate row estimates, buffers, statistics, and query rewrites while keeping correctness and measurement first.
03 / Who it's for
Useful when you know the basics and want to understand what happens next.
A manual to keep within reach
Use the guide as a learning path now and a practical reference later.
The complete collection
Seven focused guides. One goal: help you work with PostgreSQL more deliberately.
04 / Questions, answered
A few useful details about this guide and the purchase process.
EXPLAIN ANALYZE executes the statement, so writes and expensive queries need care. The guide explains how to choose a safe environment and interpret the resulting measurements.
This is a digital learning resource. After checkout, Digistore24 provides the access instructions associated with your purchase.
Complete your order through the secure Digistore24 checkout. Delivery and access details are shown during checkout and sent using the email address you provide.
Volume 04 · Performance
Get Reading Query Plans & Tuning and put the examples to work in your next database session.
Get this volumeSecure checkout via Digistore24 · Digital delivery
Checkout is temporarily unavailable. Please try again later.