Performance Optimization
From PostgreSQL wiki
Jump to navigationJump to search
How to Effectively Ask Questions Regarding Performance on Postgres Lists
General Setup and Optimization
- Tuning Your PostgreSQL Server by Greg Smith, Robert Treat, and Christopher Browne
- PostgreSQL Query Profiler in dbForge Studio by Devart
- Performance Tuning PostgreSQL by Frank Wiles
- QuickStart Guide to Tuning PostgreSQL by Christopher Browne
- Performance Tuning by Josh Berkus and Shridhar Daithankar
- Replacing Slow Loops in PostgreSQL by Joel Burton
- PostgreSQL Hardware Performance Tuning by Bruce Momjian
- The effects of data fragmentation in a mixed load database by Dmitry Dvoinikov
- Understanding Postgres Performance by Craig Kerstiens
- More on Postgres Performance by Craig Kerstiens
- Faster PostgreSQL counting by Joe Nelson
- Row count estimates in Postgres by David Conlin
- Index-only scans in Postgres by David Conlin
- Optimize PostgreSQL Server Performance Through Configuration by Tom Swartz
Performance courses are available from a number of companies. Check events and trainings for further details.
Critical maintenance for performance
- Introduction to VACUUM, ANALYZE, EXPLAIN, and COUNT by Jim Nasby.
- PostgreSQL EXPLAIN for Analyzing Query Execution Plans by Devart
- VACUUM FULL and why you should avoid it
- Planner Statistics
- Using EXPLAIN
- Logging Difficult Queries
- Logging Checkpoints
- Bulk Loading and Restores
- Performance Analysis Tools by Craig Ringer
Database architecture
- Limiting and prioritizing user/query/database resource usage by Craig Ringer
- Prioritizing databases by separating into multiple clusters by Craig Ringer
- Clustering
- Shared Storage