W3cubDocs

/MariaDB

Slow Query Log

The slow query log is a record of SQL queries that took a long time to perform.

Title Description
Slow Query Log Overview A record of SQL queries that took a long time to perform.
Slow Query Log Extended Statistics The slow query log makes extended statistics available.
mysqldumpslow Display data from the slow query log.
EXPLAIN in the Slow Query Log EXPLAIN output in the slow query log.
mysql.slow_log Table Contents of the slow query log if written to table.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/slow-query-log/