Oracle 5.0 Reference Manual page 343

Table of Contents

Advertisement

Check the table for errors. This is the default operation if you specify no option that selects an
operation type explicitly.
--check-only-changed
Check only tables that have changed since the last check.
--extend-check
Check the table very thoroughly. This is quite slow if the table has many indexes. This option should
only be used in extreme cases. Normally,
able to determine whether there are any errors in the table.
If you are using
key_buffer_size
See also the description of this option under table repair options.
For a description of the output format, see
myisamchk".
--fast
Check only tables that haven't been closed properly.
--force
Do a repair operation automatically if
same as that specified with the
--information
Print informational statistics about the table that is checked.
--medium-check
Do a check that is faster than an
errors, which should be good enough in most cases.
--read-only
Do not mark the table as checked. This is useful if you use
by some other application that does not use locking, such as
disabled.
--update-state
Store information in the
crashed. This should be used to get full benefit of the
but you shouldn't use this option if the
external locking disabled.
4.6.3.3.
myisamchk
myisamchk
option such as
--backup
Make a backup of the
--character-sets-dir=path
— MyISAM Table-Maintenance Utility
myisamchk
[323],
[323],
-e
--extend-check
variable to a large value helps the repair operation run faster.
[323],
-F
[323],
-f
--recover
[323],
-i
[323],
-m
[323],
-T
[323],
-U
file to indicate when the table was checked and whether the table
.MYI
Repair Options
supports the following options for table repair operations (operations performed when an
[324]
or
--recover
[323],
-B
file as
.MYD
-C
or
myisamchk
[323]
and have plenty of memory, setting the
Section 4.6.3.5, "Obtaining Table Information with
finds any errors in the table. The repair type is the
myisamchk
[324]
or
-r
[323]
--extend-check
--check-only-changed
server is using the table and you are running it with
mysqld
[324]
--safe-recover
file_name-time.BAK
[323]
323
myisamchk --medium-check
option.
operation. This finds only 99.99% of all
to check a table that is in use
myisamchk
when run with external locking
mysqld
is given):
should be
[323]
option,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents