PostgreSQL · Talks · Parallel Query
Parallel Query is Silently Stealing Your CPU
Slides from my Postgres Conference San Jose talk — five ways parallel query quietly burns CPU, and how to detect and tune each one.
On April 22 I gave Parallel Query is Silently Stealing Your CPU at Postgres Conference San Jose.
Many thanks to the San Jose PostgresConf organizers for a wonderful conference, venue, and a packed room!
The premise: parallel query is a great feature. It is also a great way to set your database on fire. The talk walks through five failure modes — the “free lunch” myth, worker startup cost on every query, the plan flip that hands your biggest customer the worst plan, worker pool exhaustion, and Parallel Append multiplying across partitions. The Monday-morning advice is blunt: disable parallel query globally, then re-enable it on purpose, per query, where you can bound the concurrency.
If you picked up the PDF from the conference site, that was an earlier copy; this is the current one.
