~/talk

Using PMM to identify and troubleshoot problematic MySQL queries

Talkat Percona Tech Days 2020 · 2020-08-05..09-18· [databases, observability]
links:none on file
slides:none on file

Uses RED: rate errors duration with PMM Query Analytics 2.9 to find which MySQL statements drive load, showing 62 distinct queries, one averaging 120 ms while another causes a p99 800ms spike around 6:40 and worker2 contributes most of the latency. PMM stores query samples in ClickHouse, recommends enabling the extended slow log and setting slow_log=0 to capture IO read ops and lock times so you can sort by duration, load, or disk reads.

AI-written summary · about

  1. 0:00Intro
  2. 0:43Michael Coburn, Principal Architect
  3. 1:51MySQL Queries
  4. 5:56MySQL Query Performance
  5. 6:22USE Method
  6. 7:38RED Method
  7. 10:02Query Rate
  8. 10:51Total Error Rate
  9. 11:45Total Query Latency
  10. 13:33Rows Examined per Query
  11. 15:06Queries Taking the most Time (slowest queries)
  12. 16:57Queries Causing the greatest Load
  13. 17:55Queries Waiting on Disk
  14. 20:14Queries Reading from Disk
  15. 20:37Query Detail
  16. 21:29Schema Information
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.