PostgreSQL Managed REX
summary
A managed PostgreSQL setup on GCP uses Prometheus with postgres_exporter and a custom Grafana dashboard to monitor dead-tuple ratios, last VACUUM/ANALYZE times, and color thresholds (yellow 10%, red 20%). Logs are exported from Cloud Logging to Cloud Storage and processed weekly by an Airflow DAG running pgBadger, which identified tables with over 10 million cleaned rows; autovacuum/autanalyze intervals were halved from defaults to improve behavior and provide near-real-time monitoring plus weekly post‑mortem reports.
AI-written summary · about
