Name
myisamlog
Synopsis
myisamlogoptions[filename[table...]]
This utility scans and extracts information from the
myisam.log file, which logs debugging messages for
the MyISAM table handler. The name of the log file may be given. Also,
the command can list specific tables to limit scanning to these tables.
To activate the log, add the following line to the MySQL server
configuration file (e.g., my.cnf) under the
[server] section or the [mysqld]
section:
log-isam=/data/mysql/logs/myisam.log
Here is a list of options available for this utility in alphabetical order:
-?, -IThis option displays basic help information.
-cnumberThis option limits the output to
numbercommands.-DUse this option with a server that was compiled with debugging in effect.
-FpathThis option provides the file path to use. The path should end with a trailing slash.
-ffilesThis option sets the maximum number of open files allowed.
-iThis option displays additional information.
-ooffsetThis option specifies where in the log to begin the scan.
-PThis option displays information about processes.
-pnumberThis option removes the given number of components from the front of the path.
-RThis option displays the current record position.
-rThis option displays recovery activities.
-uThis option displays update activities.
-VThis option displays the version of the utility.
-vThis option displays more information. Additional
vs (e.g.,-vv) will increase the amount of information.-wThis option displays file write activities.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access