Name
isamlog
Synopsis
isamlog [options
] [logfile
] [table
]
Displays information about ISAM logs. An ISAM log is generated if the
MySQL server is started with the -log-isam
option.
The information in the ISAM log can be used to recover damaged tables
using the -r option. However, modifying the data files directly can
be dangerous and you should always back up your data before doing so.
Options
- -?, --help
Display usage information
- -# debuglevel
Set debugging level. A list of all of the available options can be found at http://www.turbolift.com/mysql/appendixC.html.
- -c number
Examine only the last
number
commands.- -f number
Maximum number of open files. When repairing large logs
isamlog
can have a number of tables open at once. If you consistently run out of file descriptors on your system, this option will limit the number of filesisamlog
uses. Instead of using more files, it will juggle data between the open files and memory, resulting in slower operation.- -F directory
Directory containing the ISAM log file.
- -i
Display additional information.
- -o number
Offset number commands before examining the log.
- -p
Remove components from the path.
- -r
Ignore errors while examining log. This option allows you to recover all of the information within a log file.
- -R datafile recordnumber
Open an ISAM data file (a file ending with .ISM) and retrieve the data at
recordnumber
.- -u
Update the tables using the log information.
- -v
Display extra information about the process.
- -V
Display version information.
- -w file
Write all records ...
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.