Track drift over time
Proactively spot slow drift before it becomes an incident: query times creeping up, bloat building, indexes going unused.
Not every problem arrives as a spike. Some build silently: query times creep up release after release, table and index bloat grows, WAL volume rises, an index quietly stops being used. Ask the assistant to compare periods regularly and flag these drifts while they are still cheap to fix, instead of waiting for them to surface as an incident.
Typical drifts worth watching:
Queries: execution times or call counts trending up between two periods.
Bloat: tables and indexes growing well beyond their live data.
Indexes: unused indexes accumulating, adding write cost for no benefit.
Configuration: parameters changed since the last review.
WAL and checkpoints: write volume and checkpoint pressure rising over the weeks.
Example prompts:
"Compare today's workload on prod-eu-2 with the yesterday from 1 to 6am and flag every query whose average execution time drifted up by more than 20%."
"Review table and index bloat on prod-eu-1 today, compare with one week ago, and tell me which objects grew the fastest."
"Compare the configuration of my production instances today with the start of the month and list what changed."
This walkthrough was recorded with the Claude Desktop app.
Last updated