mariadb-dumpslow
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
mariadb-dumpslow
is a tool to examine the slow query log.
It parses the slow query log files, printing a summary result. Normally, mariadb-dumpslow groups queries that are similar except for the particular values of number and string data values. It “abstracts” these values to N and ´S´ when displaying summary output. The -a
and -n
options can be used to modify value abstracting behavior.
mariadb-dumpslow [ options... ] [ logs... ]
Don't abstract all numbers to N and strings to 'S'.
Debug mode.
Grep: only consider statements that include this string.
Display help.
Hostname of db server for -slow.log filename (can be wildcard), default is '', i.e. match all.
Name of server instance (if using mysql.server startup script).
Don't subtract lock time from total time.
Abstract numbers with at least NUM digits within names.
Reverse the sort order (largest last instead of first).
What to sort by (aa, ae, al, ar, at, a, c, e, l, r, t). at is default. aa average rows affected ae aggregated number of rows examined al average lock time ar average rows sent at average query time a rows affected c count e rows examined l lock time r rows sent t query time.
Just show the top NUM queries.
Verbose mode.
This page is licensed: CC BY-SA / Gnu FDL