PDF (A4) - 43.4Mb
Man Pages (TGZ) - 297.3Kb
Man Pages (Zip) - 402.5Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
Security in MySQL
Starting and Stopping MySQL
MySQL and Linux/Unix
MySQL and Windows
MySQL and macOS
MySQL and Solaris
Building MySQL from Source
MySQL Restrictions and Limitations
MySQL Partitioning
MySQL Tutorial
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL NDB Cluster 8.0
myisamchk supports the following options for table checking operations:
--check,-cCommand-Line Format --checkCheck the table for errors. This is the default operation if you specify no option that selects an operation type explicitly.
Command-Line Format --check-only-changedCheck only tables that have changed since the last check.
Command-Line Format --extend-checkCheck the table very thoroughly. This is quite slow if the table has many indexes. This option should only be used in extreme cases. Normally,myisamchk ormyisamchk --medium-check should be able to determine whether there are any errors in the table.
If you are using
--extend-checkand have plenty of memory, setting thekey_buffer_sizevariable to a large value helps the repair operation run faster.See also the description of this option under table repair options.
For a description of the output format, seeSection 6.6.4.5, “Obtaining Table Information with myisamchk”.
--fast,-FCommand-Line Format --fastCheck only tables that haven't been closed properly.
--force,-fCommand-Line Format --forceDo a repair operation automatically ifmyisamchk finds any errors in the table. The repair type is the same as that specified with the
--recoveror-roption.Command-Line Format --informationPrint informational statistics about the table that is checked.
Command-Line Format --medium-checkDo a check that is faster than an
--extend-checkoperation. This finds only 99.99% of all errors, which should be good enough in most cases.--read-only,-TCommand-Line Format --read-onlyDo not mark the table as checked. This is useful if you usemyisamchk to check a table that is in use by some other application that does not use locking, such asmysqld when run with external locking disabled.
Command-Line Format --update-stateStore information in the
.MYIfile to indicate when the table was checked and whether the table crashed. This should be used to get full benefit of the--check-only-changedoption, but you shouldn't use this option if themysqld server is using the table and you are running it with external locking disabled.
PDF (A4) - 43.4Mb
Man Pages (TGZ) - 297.3Kb
Man Pages (Zip) - 402.5Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
Security in MySQL
Starting and Stopping MySQL
MySQL and Linux/Unix
MySQL and Windows
MySQL and macOS
MySQL and Solaris
Building MySQL from Source
MySQL Restrictions and Limitations
MySQL Partitioning
MySQL Tutorial
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL NDB Cluster 8.0