Buffer Cache Hit99.7%
Replication Lag0.2s
Active Connections142/200
Dead Tuples0.3%
Lock ContentionLow
Vacuum Progress94%
Query Drift2 drifting
Checkpoint PressureNormal
Buffer Cache Hit99.7%
Replication Lag0.2s
Active Connections142/200
Dead Tuples0.3%
Lock ContentionLow
Vacuum Progress94%
Query Drift2 drifting
Checkpoint PressureNormal
AI-powered PostgreSQL observability

Know your PostgreSQL health before it breaks

pg-collector streams live PostgreSQL telemetry into a 7-dimension state machine that predicts failures, detects query regressions, and answers the 5 questions every DBA asks — automatically.

Edge-deployed collector. Rich telemetry. AI-powered predictions.

Burnside Project — Query Intelligence Dashboard with workload profiling and execution time analysis

Overall Health

0
Normal

Stable for 14 days

7-Dimension State Vector

Cache94
Transactions98
Vacuum88
Locks91
Replication95
Connections76
I/O90

Hysteresis State Machine

Optimal90-100
Normal70-89
Degraded50-69
Stressed30-49
Critical0-29
First-class product outputs

5 answers every DBA needs

Not dashboards. Not metrics. Answers. The state machine assembles signals from 7 health dimensions, query intelligence, and 30-day baselines into pre-built verdicts.

Is my database healthy?

Single-sentence verdict with confidence level, time-in-state, and 7-dimension breakdown. No interpretation needed.

What changed?

Causal narrative linking state transitions to query regressions, workload shifts, and configuration changes with timestamps.

What will break next?

Ranked risk register with 'days to breach' projections. Vacuum wraparound in 18 days. Connection exhaustion by April 12.

What caused this spike?

Root cause attribution chains: query workload change -> cache eviction -> checkpoint storm -> lock cascade. Automatic cross-dimension correlation.

How is performance trending?

30-day health report with per-dimension trajectories, volatility metrics, week-over-week comparisons, and prediction accuracy tracking.

Built for production PostgreSQL

Edge-deployed collector streams metrics every 5 minutes. Rich telemetry stores the history. AI predicts what happens next.

7-Dimension Health Vector

Cache, transactions, vacuum, locks, replication, connections, I/O — each scored 0-100 with weighted composite.

Hysteresis State Machine

5 health states with configurable sustained-change rules. No alert flapping. Recovery is slower than degradation — by design.

Daily AI Predictions

AI analyzes your health evidence pack daily. Self-referential: compares to yesterday's prediction and tracks accuracy over time.

Query Drift Detection

Tracks execution time vs 7-day and 30-day baselines. Classifies as stable, drifting, drifted, or regressed.

N+1 Query Detection

Finds ORM-generated single-row loops automatically. Shows estimated call reduction and fix suggestions.

Workload Profiling

80/20 cost distribution across OLTP, analytics, and maintenance. Find the one query consuming 73% of your capacity.

Plan Change Detection

Infers index-to-seq-scan flips, hash spills, and generic plan regressions from shape metric deltas — no EXPLAIN needed.

Temporal Baselines

Time-aware normals: business hours, off-hours, weekends. Your database behaves differently at 3 AM — we know that.

Rich Telemetry Store

Months of historical metrics at your fingertips. Hourly rollups, trend baselines, and drift comparisons — query any time range instantly.

Query Intelligence

Every query tells a story

Shape metrics reveal WHY a query slowed, not just that it slowed. Rows per call increased? Table growth. Blocks per row jumped? Lost an index. Temp blocks appeared? work_mem exhaustion.

rows_per_callTable growth or missing WHERE clause
blks_per_rowPlan change — lost index scan
temp_per_callwork_mem exhaustion, spilling to disk
read_ratioCache eviction — shared_buffers undersized
pg-collector

$ curl -s /api/v1/clusters/abc/state | jq

{

"overall_health": 87,

"state": "normal",

"verdict": "Healthy. Stable for 14 days.",

"dimensions": {

"cache": 94, "vacuum": 88,

"locks": 91, "replication": 95

}

}

Three layers, one answer

Deploy the collector. We handle the rest.

01

Edge Collector

Lightweight Go agent runs next to your PostgreSQL. Streams pg_stat_statements, locks, vacuum, replication, WAL — every 5 minutes. Zero config.

02

Rich Telemetry

Metrics flow into a high-performance analytics engine. Hourly rollups, tile scores, and drift baselines computed automatically. Query months of data instantly.

03

AI State Machine

7-dimension health vector with hysteresis transitions. AI builds daily predictions from the evidence pack. Self-referential accuracy tracking.

AI Query Optimization

Not just monitoring — actionable fixes

AI diagnoses your slowest queries with specific SQL recommendations. Index suggestions, materialized views, configuration tuning — all generated from your actual workload patterns.

AI Query Optimization — diagnosis, optimization suggestions, index recommendations, and configuration tuning
90%+

Estimated query load reduction with AI-suggested caching

4x

Daily AI health predictions with self-referential accuracy

0

EXPLAIN access needed — detects plan changes from metric signatures

Stop guessing. Start knowing.

Deploy pg-collector in 5 minutes. Get your first health verdict in 1 hour. Predict your next outage before it happens.