pgAssistant logo

A continuous PostgreSQL improvement platform

pgAssistant turns PostgreSQL evidence into prioritized action. Analyze a database and its workload, decide what to improve, organize the work, collect new evidence, and measure the result.

Use it for one database or extend the same approach across a fleet of hundreds or thousands.

Observe. Diagnose. Prioritize. Plan. Implement. Measure. Repeat.


The continuous improvement loop

pgAssistant connects diagnosis, implementation planning, and historical evidence in one repeatable process:

Observe → Diagnose → Prioritize → Plan → Implement → Collect again → Measure
   ↑                                                                  │
   └────────────────────────── Repeat continuously ────────────────────┘
  1. Observe — collect repeatable database, workload, and environment evidence.
  2. Diagnose — use deterministic advisors to identify SQL, schema, index, configuration, and maintenance issues.
  3. Prioritize — rank findings by urgency, confidence, effort, and workload impact.
  4. Plan — turn related recommendations into ordered work packages owned by DEV, OPS, or both.
  5. Implement — apply each change with its dependencies, SQL guidance, and maintenance requirements in view.
  6. Measure — compare the next collection with the previous one to understand what changed and whether the workload improved.

pgAssistant is not a real-time monitoring or alerting system. Monitoring tells you what is happening now; pgAssistant helps you decide what to improve next and verify the result over time.


From findings to an Executive Plan

The Global, Index, Parameter, Autovacuum, and Fillfactor advisors produce reproducible findings from PostgreSQL catalogs, statistics, settings, and execution plans.

The Executive Plan consolidates those findings into an ordered remediation plan instead of leaving teams with a disconnected list of recommendations. It provides:

A finding that disappears from a later collection is reported as no longer detected—not automatically treated as proof that a change was deployed.


Measure results with Workload Insights

Introduced in pgAssistant 3.8.0, Workload Insights compares consecutive Collector measurements and shows:

This historical view closes the improvement loop: teams can connect a decision to observed PostgreSQL changes, evaluate the outcome, and choose the next action using fresh evidence.

Read what is new in pgAssistant 3.8.0


One database or a PostgreSQL fleet

One database

Use the pgAssistant web interface for a deep analysis of:

A fleet of hundreds or thousands

Two companion projects automate and centralize the same improvement process:

ProjectRole
pgAssistant CollectorRuns selected jobs across declared databases and stores historical workload, environment, and advisor snapshots in a central PostgreSQL repository.
pgAssistant GrafanaDisplays fleet-wide priorities and trends so teams can identify the databases, queries, and recommendations requiring attention first.
PostgreSQL fleet → Collector → Repository → pgAssistant → Executive Plan
       ↑                           ↓             ↓              ↓
       └──────────── Collect again ← Measure results ← Implement changes
                                   ↓
                          Grafana fleet overview

Deterministic first, AI when useful

The core pgAssistant advisors are deterministic and work without an LLM. They query PostgreSQL system catalogs, statistics, configuration, and execution plans to produce reproducible recommendations.

AI is an optional augmentation layer for tasks such as:

pgAssistant remains fully usable without AI.


Try pgAssistant

Open the pgAssistant live demo and use:

postgresql://postgres:demo@demo-db:5432/northwind

Explore fleet-wide priorities in the pgAssistant Grafana demo. Credentials are documented in the pgAssistant Grafana repository.

The demo database is reset daily. AI features are disabled; do not enter personal API keys.


Get started