mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-18934: Document missing mysqldumpslow sort options
This commit is contained in:
committed by
Sergey Vojtovich
parent
78c2499282
commit
7ad355dde7
@ -210,6 +210,30 @@ should be chosen from the following list:
|
|||||||
.IP \(bu 2.3
|
.IP \(bu 2.3
|
||||||
.\}
|
.\}
|
||||||
t,
|
t,
|
||||||
|
aa: Sort by rows affected or average rows affected
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
l,
|
||||||
|
ae: Sort by rows examined or aggregate rows examined
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
l,
|
||||||
at: Sort by query time or average query time
|
at: Sort by query time or average query time
|
||||||
.RE
|
.RE
|
||||||
.sp
|
.sp
|
||||||
|
@ -38,7 +38,7 @@ GetOptions(\%opt,
|
|||||||
'v|verbose+',# verbose
|
'v|verbose+',# verbose
|
||||||
'help+', # write usage info
|
'help+', # write usage info
|
||||||
'd|debug+', # debug
|
'd|debug+', # debug
|
||||||
's=s', # what to sort by (al, at, ar, ae, c, t, l, r, e)
|
's=s', # what to sort by (aa, ae, al, ar, at, a, c, e, l, r, t)
|
||||||
'r!', # reverse the sort order (largest last instead of first)
|
'r!', # reverse the sort order (largest last instead of first)
|
||||||
't=i', # just show the top n queries
|
't=i', # just show the top n queries
|
||||||
'a!', # don't abstract all numbers to N and strings to 'S'
|
'a!', # don't abstract all numbers to N and strings to 'S'
|
||||||
@ -202,12 +202,15 @@ Parse and summarize the MySQL slow query log. Options are
|
|||||||
|
|
||||||
-v verbose
|
-v verbose
|
||||||
-d debug
|
-d debug
|
||||||
-s ORDER what to sort by (al, at, ar, ae, c, l, r, e, t), 'at' is default
|
-s ORDER what to sort by (aa, ae, al, ar, at, a, c, e, l, r, t), 'at' is default
|
||||||
|
aa: average rows affected
|
||||||
|
ae: aggregated rows examined
|
||||||
al: average lock time
|
al: average lock time
|
||||||
ar: average rows sent
|
ar: average rows sent
|
||||||
at: average query time
|
at: average query time
|
||||||
aa: average rows affected
|
a: rows affected
|
||||||
c: count
|
c: count
|
||||||
|
e: rows examined
|
||||||
l: lock time
|
l: lock time
|
||||||
r: rows sent
|
r: rows sent
|
||||||
t: query time
|
t: query time
|
||||||
|
Reference in New Issue
Block a user