MySQL ·
Find slow MySQL queries with performance_schema
Rank MySQL queries by total time with performance_schema and the sys schema, convert picosecond timers to milliseconds, or use the slow query log.
Blog / Tag
MySQL ·
Rank MySQL queries by total time with performance_schema and the sys schema, convert picosecond timers to milliseconds, or use the slow query log.
Use log_min_duration_statement and pg_stat_statements to find slow PostgreSQL queries, with exact settings, units and what needs a restart.