Managing More Than 1,000 PostgreSQL Databases with pgAssistant

Managing more than 1,000 PostgreSQL databases with pgAssistant Managing a PostgreSQL fleet at scale is not simply a matter of running the same diagnostic tool 1,000 times. Development, staging, and production have different access rules, risk profiles, owners, and workloads. At the same time, DEV, DBA, SRE, and OPS teams need one place to decide which databases require attention first. A practical pgAssistant architecture separates analysis by environment while centralizing collection, history, and fleet-wide visibility: ...

September 10, 2026 · 9 min · beh74

pgAssistant 3.8.0: Closing the Continuous Improvement Loop

pgAssistant 3.8.0 is released pgAssistant 3.8.0 marks an important step in the product’s evolution into a continuous PostgreSQL improvement platform. The release introduces Workload Insights, improves Executive Plan history, and records PostgreSQL environment changes alongside workload measurements. pgAssistant can now help teams move beyond producing recommendations: it connects what was observed, what changed, and what happened to the workload afterward. Observe → Diagnose → Prioritize → Plan → Implement → Collect again → Measure ↑ │ └────────────────────────── Repeat continuously ────────────────────┘ Workload Insights Workload Insights explores the periodic measurements stored by pgAssistant Collector and compares each collection with its predecessor. ...

September 9, 2026 · 3 min · beh74

PostgreSQL: Which Queries Should You Optimize First?

When investigating PostgreSQL performance, the usual starting point is pg_stat_statements. From there, many teams sort queries by mean_exec_time or total_exec_time and start optimizing the first rows in the list. That approach is simple, but it often leads to the wrong priorities. A query that takes five seconds but runs twice a day is not necessarily more important than a query that takes five milliseconds and runs millions of times. Conversely, a query with a high total execution time may simply be a normal core workload query, not necessarily the best optimization target. ...

May 12, 2026 · 6 min · beh74

Designing the Right PostgreSQL Index Using Query Plans and Statistics

PostgreSQL index design is often misunderstood. Many developers think that creating a good index simply means: “Create an index containing the columns from the WHERE clause.” In reality, efficient index design is far more nuanced. The order of columns inside a composite index matters enormously, and the best choice depends on: Predicate types (=, >=, BETWEEN, LIKE, etc.) Column selectivity Table size PostgreSQL planner statistics Actual execution plans This article explains the core principles behind efficient PostgreSQL index design before showing how pgAssistant automates this process using execution plans and database statistics. ...

May 11, 2026 · 9 min · beh74

Detecting PostgreSQL optimization issues with deterministic analysis

Detecting PostgreSQL optimization issues with deterministic analysis For years, I kept seeing the same PostgreSQL problems in production: missing foreign key indexes stale statistics unused indexes datatype mismatches sequences approaching exhaustion postgres configuration Most of these issues are not difficult to detect. They already exist inside PostgreSQL catalogs, statistics, … The difficult part is usually connecting the signals together and understanding their operational impact. For the past months, I have been working on a deterministic PostgreSQL analysis approach inside pgAssistant 2.8. ...

May 10, 2026 · 4 min · beh74