•
Master
• Flags: 16 flags. Currently, the following flags are used. The others are reserved for future use.
Flag Name
01 LOG_EVENT_BINLOG_IN_USE_F
02
04 LOG_EVENT_THREAD_SPECIFIC_F
08 LOG_EVENT_SUPPRESS_USE_F
4.6.8.
mysqldumpslow
The MySQL slow query log contains information about queries that take a long time to execute (see
Section 5.2.4, "The Slow Query
a summary of their contents.
Normally,
mysqldumpslow
and string data values. It "abstracts" these values to
and
options can be used to modify value abstracting behavior.
-a
-n
Invoke
mysqldumpslow
shell>
mysqldumpslow [options] [log_file ...]
mysqldumpslow
Table 4.11.
Format
-a [350]
-n num [351]
--debug [351]
-g pattern [351]
--help [350]
-h name [351]
-i name [351]
-l [351]
-r [351]
-s value [351]
-t num [351]
--verbose [351]
•
--help
Display a help message and exit.
•
-a
mysqldumpslow
Pos: The position of the next event in the original master log file.
Meaning
Log file correctly closed. (Used only in FORMAT_DESCRIPTION_EVENT.)
If this flag is set (if the flags are, for example,
FORMAT_DESCRIPTION_EVENT, the log file has not been properly closed.
Most probably this is because of a master crash (for example, due to
power failure).
Reserved for future use.
Set if the event is dependent on the connection it was executed in (for
example,
Set in some circumstances when the event is not dependent on the default
database.
— Summarize Slow Query Log Files
Log").
groups queries that are similar except for the particular values of number
like this:
supports the following options.
Options
mysqldumpslow
Option File
debug [351]
verbose [351]
[350]
— Summarize Slow Query Log Files
00'), for example, if the event uses temporary tables.
'04
parses MySQL slow query log files and prints
mysqldumpslow
and
N
'S'
Description
Do not abstract all numbers to N and strings to S
Abstract numbers with at least the specified digits
Write debugging information
Only consider statements that match the pattern
Display help message and exit
Host name of the server in the log file name
Name of the server instance
Do not subtract lock time from total time
Reverse the sort order
How to sort output
Display only first num queries
Verbose mode
350
00') in a
'01
when displaying summary output. The
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers