Oracle 5.0 Reference Manual page 339

Table of Contents

Advertisement

myisamchk
that has died without closing the file properly, which can sometimes lead to the
corruption of one or more
If
mysqld
still buffered in memory by using
no one is using the tables while you are running
However, the easiest way to avoid this problem is to use
of
myisamchk
supports the following options, which can be specified on the command line or in the
myisamchk
group of an option file.
[myisamchk]
described at
Section 4.2.3.4, "Command-Line Options that Affect Option-File
Table 4.8.
myisamchk
Format
--analyze [325]
--backup [323]
--block-
search=offset [325]
--check [322]
--check-only-
changed [323]
--correct-
checksum [324]
--data-file-
length=len [324]
--
debug[=debug_options] [321]
decode_bits=#
--description [325]
--extend-
check [323]
--fast [323]
--force [323]
--force
ft_max_word_len=# ft_max_word_len
ft_min_word_len=#
ft_stopword_file=valueft_stopword_file
--HELP [321]
--help [321]
--information [323]
key_buffer_size=#
--keys-
used=val [324]
— MyISAM Table-Maintenance Utility
is running, you must force it to flush any table modifications that are
to check tables. See
myisamchk
Options
Option File
Description
analyze [325]
Analyze the distribution of key values
backup [323]
Make a backup of the .MYD file as file_name-time.BAK
block-search [325]
Find the record that a block at the given offset belongs to
check [322]
Check the table for errors
check-only-
Check only tables that have changed since the last check
changed [323]
correct-
Correct the checksum information for the table
checksum [324]
data-file-
Maximum length of the data file (when re-creating data
length [324]
file when it is full)
debug [321]
Write a debugging log
decode_bits
Decode_bits
description [325]
Print some descriptive information about the table
extend-check [323]
Do very thorough table check or repair that tries to
recover every possible row from the data file
fast [323]
Check only tables that haven't been closed properly
force [323]
Do a repair operation automatically if myisamchk finds
any errors in the table
force-recover
Overwrite old temporary files. For use with the -r or -o
option
Maximum word length for FULLTEXT indexes
ft_min_word_len
Minimum word length for FULLTEXT indexes
Use stopwords from this file instead of built-in list
Display help message and exit
Display help message and exit
information [323]
Print informational statistics about the table that is
checked
key_buffer_size
The size of the buffer used for index blocks for MyISAM
tables
keys-used [324]
A bit-value that indicates which indexes to update
319
tables.
MyISAM
TABLES. You should then ensure that
FLUSH
myisamchk
Section 13.7.2.3,
also supports the options for processing option files
instead
CHECK TABLE
"CHECK TABLE
Syntax".
Handling".

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents