Skip to content
The Postgres Guy

The Postgres Guy

  • All posts
  • Videos
  • Book
  • About
  • Résumé

Tag: performance

  • PostgreSQL in Kubernetes?!?!? are you serious?

    November 17, 2026
    Cloud, Kubernetes

    Oh, I’m very serious! Kubernetes is often dismissed for stateful workloads. Critics call it unnecessary complexity for databases, or an extra layer (bare metal → VM → pod) that constrains resources. As you can probably tell, I’m all in on deploying databases in Kubernetes. I’ve run production databases on Kubernetes and find it simpler, closer… →

  • Your query plan changed overnight. Nobody deployed anything

    October 13, 2026
    Vacuum & Analyze

    Hi there — Welcome to Issue #9 of Vacuum & Analyze. Eight issues in, and we’ve mostly talked about the first half of the name. This one is about the second half: ANALYZE, and the statistics the planner uses to decide how to run your queries. A dashboard query runs in about 40 ms for… →

  • Your agent needs a vector database.

    September 8, 2026
    Vacuum & Analyze

    Your agent needs a vector database. You might already be running one. Every agentic AI architecture diagram has a box labeled “vector store,” usually drawn as a separate system from everything else. For most teams, that box is unnecessary — and the reason why has nothing to do with cost savings. Hi there — Welcome… →

  • Why raising max_connections made everything slower

    August 11, 2026
    Vacuum & Analyze

    Hi there — Welcome to Issue #6 of Vacuum & Analyze. New topic, and this one pairs with something I’ve been building on YouTube — a full series on connection pooling that goes deeper with diagrams and live benchmarks than a newsletter issue can. If today’s issue is useful, the video series is the extended… →

  • Why autovacuum ignores your biggest table

    July 14, 2026
    Internals

    The default thresholds were sized for tables that don’t exist anymore. Here’s the math that actually scales — and the per-table overrides that fix it. →

  • But It’s a Simple Query — Why Is It So Slow?

    July 8, 2026
    Performance

    Two WHERE clauses that look identical to you can look completely different to the PostgreSQL planner. A short tour of function volatility — IMMUTABLE, STABLE, VOLATILE — and why now() changes how your query gets planned. →

  • Why your index build took four hours — maintenance_work_mem explained

    June 30, 2026
    Performance

    The third piece in a series on PostgreSQL memory. Why your CREATE INDEX crawled on a 500GB table, why autovacuum runs but doesn’t finish the job, and the one setting you should be generous with. →

  • How to Use thepostgresguy/pgtools: Index Bloat Analysis & Recovery (Part 3)

    January 4, 2026
    Maintenance

    Complete your optimization journey by detecting hidden index bloat with pgtools, understanding wasted space, and implementing safe recovery strategies. →

  • How to Use thepostgresguy/pgtools: HOT Update Optimization Checklist (Part 2)

    December 28, 2025
    Maintenance

    Validate fillfactor changes, troubleshoot why HOT updates still lag, and master advanced strategies to optimize your PostgreSQL update workloads. →

  • How to Use thepostgresguy/pgtools: HOT Update Optimization Checklist (Part 1)

    December 15, 2025
    Maintenance

    Learn what PostgreSQL HOT updates are, why they matter, and how to use iqtoolkit/pgtools to generate fillfactor recommendations as actionable SQL. →

© 2026 The Postgres Guy.

Let’s go deeper than the docs

Blog

All posts

About

RSS

  • YouTube
  • LinkedIn
  • GitHub
  • X
  • Bluesky
  • Instagram
  • Reddit

Loading Comments...