4.6.5 myisamlog — Display MyISAM Log File Contents显示MyISAM日志文件内容

myisamlog processes the contents of a MyISAM log file. myisamlog处理MyISAM日志文件的内容。To create such a file, start the server with a --log-isam=log_file option.要创建这样的文件,请使用--log-isam=log_file选项启动服务器。

Invoke myisamlog like this:调用myisamlog如下:

myisamlog [options] [file_name [tbl_name] ...]

The default operation is update (-u). If a recovery is done (-r), all writes and possibly updates and deletes are done and errors are only counted. 默认操作是update(-u)。如果恢复完成(-r),则所有写入以及可能的更新和删除都将完成,并且只计算错误。The default log file name is myisam.log if no log_file argument is given. 如果没有给出log_file参数,则默认日志文件名为myisamlogIf tables are named on the command line, only those tables are updated.如果在命令行上命名表,则仅更新这些表。

myisamlog supports the following options:myisamlog支持以下选项: