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.
https://philbooth.me/blog/nine-ways-to-shoot-yourself-in-the-foot-with-postgresql
PGTune
PGTune - calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration
PgTune - Tuning PostgreSQL config by your hardware
https://pgtune.leopard.in.ua/#/
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.
https://www.postgresql.org/docs/9.3/performance-tips.html

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.
https://pawelurbanek.com/postgresql-query-bottleneck


Seonglae Cho