logo

pgAssistant helps developers, DBAs, and operations teams understand and improve PostgreSQL databases.

It can be used interactively to analyze a single database, or combined with pgAssistant Collector and pgAssistant Grafana to identify and prioritize actions across hundreds or thousands of databases.

Analyze one PostgreSQL database. Prioritize a fleet of thousands.


One Database or an Entire PostgreSQL Fleet

Analyze a Single Database

The main pgAssistant application provides an interactive interface for:

This is useful for a developer investigating one application database, as well as for a DBA performing a detailed PostgreSQL assessment.

Manage Hundreds or Thousands of Databases

For larger PostgreSQL estates, two companion projects automate and centralize pgAssistant analyses:

ProjectRole
pgAssistant CollectorRuns selected pgAssistant analyses across declared databases and stores historical results in a central PostgreSQL repository.
pgAssistant GrafanaProvides fleet-wide dashboards showing priorities, trends, advisor findings, and the databases requiring attention first.

Together, the three projects make it possible to:

  1. collect consistent diagnostics across applications and environments;
  2. identify which databases require action first;
  3. drill down from a fleet overview to a database, query, or recommendation;
  4. assign remediation work to development and operations teams;
  5. track whether priority findings are resolved over time.
PostgreSQL fleet → Collector → pgAssistant analyses → Central repository → Grafana
                         Diagnosis and action plan

Deterministic First, AI When Needed

pgAssistant is built on a simple principle:

Start with deterministic database analysis.
Use AI only when it adds value.

Deterministic Analysis

pgAssistant queries PostgreSQL system catalogs and statistics to produce reliable and reproducible diagnostics.

The Global Advisor provides:

The Executive Plan consolidates findings from the Global, Index, Parameter, Autovacuum, and Fillfactor advisors into ordered work packages for DEV and OPS teams.

No AI is required for these analyses.


Query and Workload Analysis

pgAssistant can analyze an individual SQL statement or the workload collected by pg_stat_statements:

EXPLAIN ANALYZE executes the statement. Review queries carefully and use a suitable database role.


Optional AI Assistance

AI is an augmentation layer, not a dependency.

When an LLM is configured, pgAssistant can provide:

pgAssistant remains fully usable without AI.


Try It Online

Database analysis interface:
https://ov-004f8b.infomaniak.ch/

Demo connection:

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

Fleet dashboards:
pgAssistant Grafana demo

The Grafana demo credentials are documented in the
pgAssistant Grafana repository.

The public demo does not use an LLM.
Do not provide personal API keys.


Why pgAssistant?

Explore the documentation, blog posts, and project repositories:


Before You Begin


Monitoring and pgAssistant

pgAssistant is not intended to replace a real-time monitoring and alerting platform.

For PostgreSQL observability, pgWatch provides:

Monitoring shows what is happening.
pgAssistant helps decide what to improve next and how to implement it.