MySQL with Database Observability
Database Observability gives you deep visibility into MySQL query performance. This slide’s path is for a database you run yourself.
What you’ll get
- Queries Overview dashboard showing RED metrics for tracked queries
- Explain plans revealing full table scans, missing indexes, and expensive joins
- Wait events showing lock contention, I/O bottlenecks, and resource waits
- Query samples with individual execution timing
- Table schemas highlighting index coverage and constraints
Before you start
A few things to keep in mind:
- MySQL 8.0 or later is required. MariaDB isn’t supported.
- Query statistics need
PROCESS,REPLICATION CLIENT, andSELECTonperformance_schema. - Schema details and explain plans also need
SELECTandSHOW VIEWon each schema you monitor, or on all schemas if you want every schema. The path below grants all schemas. - Amazon RDS, Amazon Aurora, Google Cloud SQL, and Azure Database use a separate setup guide, not this path.
The path below walks you through each step.
Learning path
MySQL Database Observability
Set up Grafana Cloud Database Observability for MySQL to monitor query performance, explain plans, wait events, and query samples.
16 min
Intermediate
Docs & blog posts
Open in Grafana Cloud
Complete this learning path directly in your Grafana Cloud stack with an interactive learning experience.