The Missing Chapter in Your CI Playbook: Database Guardrails
summary
Shows how adding one line of code plus a small SDK yields SQL visibility, automated checks and pull‑request comments via GitHub Actions. The demo detects a table scan that reads ~200,000 rows and recommends an index, adds a Dockerized metadata collector that polls pg_stat_statements and surface schema/index usage, and provides a CLI to fetch EXPLAIN plans and actual vs estimated row counts — end‑to‑end guardrails that run and produce actionable fixes.
AI-written summary · about
chapters (10)
- 0:00Introduction to database guardrails
- 3:49Common database performance issues
- 10:09Setting up the demo environment
- 14:21Integrating Matis SDK for observability
- 27:30Enhancing CI/CD with database checks
- 42:26Production database monitoring
- 50:15Database metadata collection
- 57:41Understanding SQL execution plans
- 1:05:29Using the Clear CLI tool
- 1:12:13Summary and key takeaways
