Verbose mode. Print more output about what the program does. This option can be given multiple
times to produce more and more output.
•
-w write_file
Specify the write file.
•
-V
Display version information.
4.6.5.
myisampack
The
myisampack
in the table separately. Usually,
When the table is used later, the server reads into memory the information needed to decompress
columns. This results in much better performance when accessing individual rows, because you only
have to uncompress exactly one row.
MySQL uses
does not work, MySQL falls back to normal read/write file operations.
Please note the following:
• If the
mysqld
myisampack
compress tables with the server stopped.
• After packing a table, it becomes read only. This is generally intended (such as when accessing
packed tables on a CD).
Invoke
myisampack
shell>
myisampack [options] file_name ...
Each file name argument should be the name of an index (.MYI) file. If you are not in the database
directory, you should specify the path name to the file. It is permissible to omit the
After you compress a table with myisampack, you should use
Section 4.6.3,
myisampack
for processing them described at
Handling".
•
--help
Display a help message and exit.
•
--backup
Make a backup of each table's data file using the name tbl_name.OLD.
•
--character-sets-dir=path
The directory where character sets are installed. See
•
--debug[=debug_options]
Write a debugging log. A typical
'd:t:o'.
•
--force
— Generate Compressed, Read-Only MyISAM Tables
myisampack
— Generate Compressed, Read-Only MyISAM Tables
utility compresses
myisampack
when possible to perform memory mapping on compressed tables. If
mmap()
server was invoked with external locking disabled, it is not a good idea to invoke
if the table might be updated by the server during the packing process. It is safest to
like this:
"myisamchk
— MyISAM Table-Maintenance
supports the following options. It also reads option files and supports the options
Section 4.2.3.4, "Command-Line Options that Affect Option-File
[334],
-?
[334],
-b
[334],
-f
tables.
MyISAM
myisampack
packs the data file 40% to 70%.
[334]
Section 10.5, "Character Set
[334],
-# [debug_options]
string is 'd:t:o,file_name'. The default is
debug_options
334
works by compressing each column
.MYI
to rebuild its indexes.
myisamchk -rq
Utility".
mmap()
extension.
Configuration".
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers