How to Read the MariaDB Slow Query Log in Enscale
Key Takeaways
- Enable the slow query log with
slow_query_log = ONand along_query_timeof 1 second or lower. The 10-second default is too lax for most web apps.- The key signal in each entry is
Rows_examinedversusRows_sent: a huge gap usually means a full table scan and a missing index.