-
PostgreSQL in Kubernetes?!?!? are you serious?
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
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.
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
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… →
-
But It’s a Simple Query — Why Is It So Slow?
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
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)
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)
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)
Learn what PostgreSQL HOT updates are, why they matter, and how to use iqtoolkit/pgtools to generate fillfactor recommendations as actionable SQL. →