{"slug": "pgtune", "name": "PGTune", "category": "databases", "category_name": "Databases", "description": "", "recommenders": 6, "commenters": 6, "warners": 0, "score": 5.293, "rising": -1.96, "first": "2025-12-01", "latest": "2026-07-23", "why": "if you're managing your servers: pgtune. The default postgres configuration is very conservative regarding resources so you can get good performance gains", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 6, "neutral": 0, "compare": 0, "warn": 0}, "spark": [0, 1, 1, 1, 0, 0, 0, 0, 3, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "if you're managing your servers: pgtune. The default postgres configuration is very conservative regarding resources so you can get good performance gains", "kind": "", "icon": false, "domain": "in.ua", "github_repo": null, "official_url": "https://pgtune.leopard.in.ua", "pricing": "", "aliases": ["PGTune", "pgtune"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 784287008, "item_id": 49017938, "url": "https://news.ycombinator.com/item?id=49017938", "by": "arkh", "date": "2026-07-23", "stance": "recommend", "quote": "if you're managing your servers: pgtune. The default postgres configuration is very conservative regarding resources so you can get good performance gains", "excerpt": "> Don't reinvent a type system I'd like to add: stay away from using arrays and user defined types. They feel like a good idea at first, but will become a problem when using fetched data in your code. And another miss, if you're managing your servers: pgtune. The default postgres configuration is very conservative regarding resources so you can get good performance gains just by adjusting them to your server specific", "context": "", "use_case": "tuning Postgres config", "switched_from": "", "story": "The startup's Postgres survival guide"}, {"id": 784170384, "item_id": 49010649, "url": "https://news.ycombinator.com/item?id=49010649", "by": "Lukas_Skywalker", "date": "2026-07-22", "stance": "recommend", "quote": "This is a pretty good resource for some basic tuning", "excerpt": "This is a pretty good resource for some basic tuning (mostly buffer sizes and connection count): https://pgtune.leopard.in.ua/", "context": "", "use_case": "", "switched_from": "", "story": "The startup's Postgres survival guide"}, {"id": 781067104, "item_id": 48816694, "url": "https://news.ycombinator.com/item?id=48816694", "by": "catdog", "date": "2026-07-07", "stance": "recommend", "quote": "get a better than default config with next to no effort", "excerpt": "Yep quite useless. It's well known that postgres defaults are tuned for low resource usage, not for max performance. There are calculators like https://pgtune.leopard.in.ua/ to get a better than default config with next to no effort.", "context": "", "use_case": "PostgreSQL config tuning", "switched_from": "", "story": "PostgreSQL Benchmark: AWS RDS vs. Self-Hosted on Hetzner (2026)"}, {"id": 750556480, "item_id": 46909780, "url": "https://news.ycombinator.com/item?id=46909780", "by": "tehlike", "date": "2026-02-05", "stance": "recommend", "quote": "I generally use this", "excerpt": "I generally use this: https://pgtune.leopard.in.ua/", "context": "", "use_case": "PostgreSQL config tuning", "switched_from": "", "story": "Unlocking high-performance PostgreSQL with key memory optimizations"}, {"id": 746409937, "item_id": 46650621, "url": "https://news.ycombinator.com/item?id=46650621", "by": "_joel", "date": "2026-01-16", "stance": "recommend", "quote": "I just tend to use https://github.com/le0pard/pgtune", "excerpt": "I just tend to use https://github.com/le0pard/pgtune", "context": "", "use_case": "Postgres config tuning", "switched_from": "", "story": "Elasticsearch Was Never a Database"}]}], "caveats": [], "who": [{"by": "rtp4me", "context": "worked as small-company SysAdmin", "url": "https://news.ycombinator.com/item?id=46108322", "date": "2025-12-01"}], "tags": [], "use_cases": ["postgresql config tuning", "tuning postgres config", "postgres config tuning", "postgres performance tuning"], "compared": [], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=49005787", "title": "The startup's Postgres survival guide", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=48816129", "title": "PostgreSQL Benchmark: AWS RDS vs. Self-Hosted on Hetzner (2026)", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46853261", "title": "Unlocking high-performance PostgreSQL with key memory optimizations", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46579954", "title": "Elasticsearch Was Never a Database", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46102347", "title": "Advent of Sysadmin 2025", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {"recommend": 1}, "2026-01": {"recommend": 1}, "2026-02": {"recommend": 1}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {"recommend": 3}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "quotes": [{"id": 784287008, "item_id": 49017938, "url": "https://news.ycombinator.com/item?id=49017938", "by": "arkh", "date": "2026-07-23", "stance": "recommend", "quote": "if you're managing your servers: pgtune. The default postgres configuration is very conservative regarding resources so you can get good performance gains", "excerpt": "> Don't reinvent a type system I'd like to add: stay away from using arrays and user defined types. They feel like a good idea at first, but will become a problem when using fetched data in your code. And another miss, if you're managing your servers: pgtune. The default postgres configuration is very conservative regarding resources so you can get good performance gains just by adjusting them to your server specific", "context": "", "use_case": "tuning Postgres config", "switched_from": "", "story": "The startup's Postgres survival guide"}, {"id": 784170384, "item_id": 49010649, "url": "https://news.ycombinator.com/item?id=49010649", "by": "Lukas_Skywalker", "date": "2026-07-22", "stance": "recommend", "quote": "This is a pretty good resource for some basic tuning", "excerpt": "This is a pretty good resource for some basic tuning (mostly buffer sizes and connection count): https://pgtune.leopard.in.ua/", "context": "", "use_case": "", "switched_from": "", "story": "The startup's Postgres survival guide"}, {"id": 781067104, "item_id": 48816694, "url": "https://news.ycombinator.com/item?id=48816694", "by": "catdog", "date": "2026-07-07", "stance": "recommend", "quote": "get a better than default config with next to no effort", "excerpt": "Yep quite useless. It's well known that postgres defaults are tuned for low resource usage, not for max performance. There are calculators like https://pgtune.leopard.in.ua/ to get a better than default config with next to no effort.", "context": "", "use_case": "PostgreSQL config tuning", "switched_from": "", "story": "PostgreSQL Benchmark: AWS RDS vs. Self-Hosted on Hetzner (2026)"}, {"id": 750556480, "item_id": 46909780, "url": "https://news.ycombinator.com/item?id=46909780", "by": "tehlike", "date": "2026-02-05", "stance": "recommend", "quote": "I generally use this", "excerpt": "I generally use this: https://pgtune.leopard.in.ua/", "context": "", "use_case": "PostgreSQL config tuning", "switched_from": "", "story": "Unlocking high-performance PostgreSQL with key memory optimizations"}, {"id": 746409937, "item_id": 46650621, "url": "https://news.ycombinator.com/item?id=46650621", "by": "_joel", "date": "2026-01-16", "stance": "recommend", "quote": "I just tend to use https://github.com/le0pard/pgtune", "excerpt": "I just tend to use https://github.com/le0pard/pgtune", "context": "", "use_case": "Postgres config tuning", "switched_from": "", "story": "Elasticsearch Was Never a Database"}, {"id": 737733153, "item_id": 46108322, "url": "https://news.ycombinator.com/item?id=46108322", "by": "rtp4me", "date": "2025-12-01", "stance": "recommend", "quote": "We use both in production and they work very well to help track down performance issues with Postgres.", "excerpt": "For 4) - consider PGHero[1] and PGTuner[2] instead of a full-time DBA. We use both in production and they work very well to help track down performance issues with Postgres. [1] https://github.com/ankane/pghero [2] https://pgtune.leopard.in.ua/ Edit: For the record, I have worked at a few small companies as the \"SysAdmin\" guy who did the whole compliment of servers, OS, storage, networking, VMs, DB, perf tuning, etc.", "context": "worked as small-company SysAdmin", "use_case": "Postgres performance tuning", "switched_from": "", "story": "Advent of Sysadmin 2025"}]}