DRIFTBaselines and drift flags
Hourly measurements per statement, compared with a 14-day median for the same hour of day. Regressions, new heavy statements, execution spikes, plan changes (with pg_stat_monitor) and database-wide drift, each NEW, ONGOING or RESOLVED.
monitor.py · exit 4 = alert
ASKQuestions in plain English
“Load over the last 3 days”, “WAL since yesterday”, “what flags fired this week?”, or a statement id. Built-in rules or your approved model read the question; the chart and caption always come from the data.
shareable answer links
POSTGRESQLBuilt on pg_stat_statements
Time, buffer reads, disk reads, temp spill and WAL per statement, on every version from 12 to 17. Uses pg_stat_monitor, pg_wait_sampling, pg_qualstats and track_io_timing when they are there.
pg_monitor role only
MYSQLBuilt on performance_schema
Statement digests with rows examined against rows returned, full scans and joins, on-disk temp tables and lock time. Explains a sample statement and reads index usage and waits when enabled.
SELECT on performance_schema
DIAGNOSEWhy one statement is slow
Missing indexes found in the plan, temp spills, disk-bound reads, rows examined per row returned, N+1 query patterns, planning and JIT overhead, and unstable run times.
Analyze button · analyze_statement
FIXFix scripts a DBA can test
CREATE INDEX CONCURRENTLY, ALTER TABLE … ALGORITHM=INPLACE, LOCK=NONE, per-role settings, invisible indexes before drops. Every line commented out, every step with its undo. Never runs by itself.
fix_<id>.sql
REVIEWSettings and maintenance
Cache hit ratio, dead rows and vacuum, never-analyzed tables, unused indexes, forced checkpoints, buffer pool misses, redo capacity, connection headroom, checked against this database’s own numbers.
database_fix.sql
SETUPTells you what to turn on
The connection test lists every statistic dbTalk reads as OK, missing or optional, with the exact command or my.cnf line to enable it. Managed-service settings are in the guide.
grants_postgres.sql · grants_mysql.sql
AGENTSTools for your AI platform
Seven read-only tools over MCP or REST with an OpenAPI description, input validation, literal redaction and an audit log of every call.
mcp_server.py