Oracle 5.0 Reference Manual page 345

Table of Contents

Advertisement

Do a repair using an old recovery method that reads through all rows in order and updates all index
trees based on the rows found. This is an order of magnitude slower than
can handle a couple of very unlikely cases that
also uses much less disk space than
recover
If you have lots of memory, you should increase the value of key_buffer_size.
--set-character-set=name
Change the character set used by the table indexes. This option was replaced by
collation
--set-collation=name
Specify the collation to use for sorting table indexes. The character set name is implied by the first
part of the collation name. This option was added in MySQL 5.0.3.
--sort-recover
Force
myisamchk
--tmpdir=path
The path of the directory to be used for storing temporary files. If this is not set,
the value of the
paths that are used successively in round-robin fashion for creating temporary files. The separator
character between directory names is the colon (":") on Unix and the semicolon (";") on Windows,
NetWare, and OS/2.
--unpack
Unpack a table that was packed with myisampack.
4.6.3.4. Other
myisamchk
myisamchk
--analyze
Analyze the distribution of key values. This improves join performance by enabling the join
optimizer to better choose the order in which to join the tables and which indexes it should use. To
obtain information about the key distribution, use a
tbl_name
--block-search=offset
Find the record that a block at the given offset belongs to.
--description
Print some descriptive information about the table. Specifying the
or twice produces additional information. See
myisamchk".
--set-auto-increment[=value]
Force
AUTO_INCREMENT
there are existing records with
AUTO_INCREMENT
one.
— MyISAM Table-Maintenance Utility
myisamchk
[324], and then with
--safe-recover
[325]
in MySQL 5.0.3.
[325]
[325],
-n
to use sorting to resolve the keys even if the temporary files would be very large.
[325],
-t path
environment variable.
TMPDIR
[325],
-u
Options
supports the following options for actions other than table checks and repairs:
[325],
-a
command or the
SHOW INDEX FROM tbl_name
[325],
[325],
-d
numbering for new records to start at the given value (or higher, if
AUTO_INCREMENT
numbers for new records begin with the largest value currently in the table, plus
--recover
[324]. Normally, you should repair first using
--recover
[324]
only if
[325]
--tmpdir
myisamchk --description --verbose
-b offset
Section 4.6.3.5, "Obtaining Table Information with
[325],
-A[value]
values this large). If
325
--recover
[324]
cannot. This recovery method
[324]
fails.
--recover
myisamchk
[325]
can be set to a list of directory
statement.
[321]
--verbose
is not specified,
value
[324], but
--
--set-
uses
option once

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents