Introducing Query Tuning Workbooks to safely tune Postgres queries on production with pganalyze!

pganalyze Query Tuning Workbooks for Postgres

Safely experiment with query optimizations, compare execution plans, and improve performance without risking production stability.

Dedicated Environment for Query Optimization

Query Tuning Workbooks offer a structured workflow where you can benchmark slow queries, experiment with rewrites, adjust planner settings, and apply planner hints. By layering secure permissions over your live environment, more team members can safely propose optimizations without needing direct database access.

Screenshot of pganalyze Query Tuning Workbooks overview
Screenshot of pganalyze Query Tuning Workbooks parameter sets selection

Pinpoint Parameter-Driven Performance Differences

Understanding how different input parameters affect query performance is crucial. Our workbooks transform positional parameters into intuitively named parameters, which you can test to identify how changes influence execution plans and performance metrics.

Validate Real-World Results with EXPLAIN ANALYZE

You can opt to run EXPLAIN ANALYZE directly through the pganalyze collector. This feature enables you to test query variants in your production environment to safely uncover how small shifts in data distribution or usage patterns might impact execution times, so you can avoid surprises when moving to production.

Screenshot of pganalyze Query Tuning Workbooks collector run
Screenshot of pganalyze Query Tuning Workbooks plan comparison

Side-by-side Plan Comparison

Stop juggling multiple EXPLAIN outputs in separate tabs. Workbooks provides a text-based diff visualization, highlighting structural changes between query variants, helping you pinpoint performance implications and document changes for the team.


Robin Fernandes
Our overall usage of Postgres is growing, as is the amount of data we're storing and the number of users that interact with our products. pganalyze is essential to making our Postgres databases run faster, and makes sure end-users have the best experience possible.
- Robin Fernandes, Software Development Manager, Atlassian

Hundreds Of Companies Monitor Their Production PostgreSQL Databases With pganalyze

Atlassian
Moody's
fuboTv
Salsify
CounterPath
Ipsy