Postgres Optimization

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2022 Apr 13 12:1
Editor
Edited
Edited
2024 Apr 15 15:49

Postgres Performance

 
 
 
 
 

work_mem

Nine ways to shoot yourself in the foot with PostgreSQL
Previously on Extreme Learning, I discussed all the ways I've broken production using healthchecks. In this post I'll do the same for PostgreSQL.

PGTune

PGTune - calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration
PgTune - Tuning PostgreSQL config by your hardware

Performance Tips

Performance Tips
This documentation is for an unsupported version of PostgreSQL. You may want to view the same page for the current version, or one of the other supported versions listed above instead. Query performance can be affected by many things. Some of these can be controlled by the user, while others are fundamental to the underlying design of the system.
Performance Tips

Query Optimization

Five Easy to Miss PostgreSQL Query Performance Bottlenecks
PostgreSQL query planner is full of surprises, so a common-sense approach to writing performant queries is sometimes misleading. In this blog post, I'll describe examples of optimizing seemingly obvious queries with the help of EXPLAIN ANALYZE and Postgres metadata analysis.
Five Easy to Miss PostgreSQL Query Performance Bottlenecks
 
 
 

Recommendations