MySQL
MySQL and MariaDB performance, monitoring and tuning.
Is it slow, or is it just 9 a.m.? An hour-of-day baseline for performance_schema digests in plain SQL
Compare each MySQL statement's time per call with its median for the same hour of the day over the last 14 days, using performance_schema's digest table and the event scheduler. MySQL 8.0+, plain SQL.