Advanced MySQL optimization and troubleshooting using PMM 2
summary
Dives into PMM 2’s advanced options: live demos show using performance_schema and slow query log (with sampling and outlier capture), drilling from aggregated query rows examined per row sent to EXPLAIN and table/index cardinality, and finding a missing primary key that causes a full table scan examining ~100k rows per returned row. Correlates query load with CPU/memory/disk/network, surfaces fsync and swap problems, offers Grafana dashboards and custom scoring, and explains deployment choices and storage backends like VictoriaMetrics and ClickHouse.
AI-written summary · about
