Additional Resources
1220
•
myisamchk
marks tables as checked if you run it with the
--update-state
[323]
option.
myisamchk --fast
checks only those tables that don't have this mark.
•
myisamchk --analyze
stores statistics for portions of keys, as well as for entire keys.
•
myisampack
can pack
BLOB
and
VARCHAR
columns.
MyISAM
also supports the following features:
• Support for a true
VARCHAR
type; a
VARCHAR
column starts with a length stored in one or two bytes.
• Tables with
VARCHAR
columns may have fixed or dynamic row length.
• The sum of the lengths of the
VARCHAR
and
CHAR
columns in a table may be up to 64KB.
• Arbitrary length
UNIQUE
constraints.
Additional Resources
• A forum dedicated to the
MyISAM
storage engine is available at
http://forums.mysql.com/list.php?21
.
14.1.1.
MyISAM
Startup Options
The following options to
mysqld
can be used to change the behavior of
MyISAM
tables. For additional
information, see
Section 5.1.3, “Server Command Options”
.
Table 14.1. MyISAM Option/Variable Reference
Name
Cmd-Line
Option file
System Var Status Var
Var Scope
Dynamic
bulk_insert_buffer_size [441]
Yes
Yes
Yes
Both
Yes
concurrent_insert [445]
Yes
Yes
Yes
Global
Yes
delay-key-
write [406]
Yes
Yes
Global
Yes
- Variable:
delay_key_write
Yes
Global
Yes
have_rtree_keys [455]
Yes
Global
No
key_buffer_size [458]
Yes
Yes
Yes
Global
Yes
log-isam [411]
Yes
Yes
myisam-block-
size [415]
Yes
Yes
myisam_data_pointer_size [473]
Yes
Yes
Yes
Global
Yes
myisam_max_extra_sort_file_size [474]
Yes
Yes
Yes
Global
No
myisam_max_sort_file_size [474]
Yes
Yes
Yes
Global
Yes
myisam_mmap_size [474]
Yes
Yes
Yes
Global
No
myisam-
recover [415]
Yes
Yes
- Variable:
myisam_recover_options
myisam_recover_options [475]
Yes
Global
No
myisam_repair_threads [475]
Yes
Yes
Yes
Both
Yes
myisam_sort_buffer_size [476]
Yes
Yes
Yes
Both
Yes
myisam_stats_method [476]
Yes
Yes
Yes
Both
Yes
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...