ANALYZE for statements: MariaDB’s hidden gem Q&A
summary
ANALYZE reports per-statement timings and shows filesort memory and r_total_time_ms so you can see which operators used time; it does not yet report temporary-table memory but has a total-allocation counter that could be split by operator. Performance Schema stays at instance-level aggregates and can hold query totals, so there's minimal overlap today. No GUI exists but a paste-in web viewer is an easy third-party project. ANALYZE cannot suggest better indexes — it only reports what it observed; Zulip testing finds IGNORE INDEX beats FORCE INDEX in some real workloads.
AI-written summary · about
