Server System Variables
447
•
delay_key_write
[447]
Command-Line Format
--delay-key-write[=name]
Option-File Format
delay-key-write
Option Sets Variable
Yes,
delay_key_write
[447]
Variable Name
delay-key-write
Variable Scope
Global
Dynamic Variable
Yes
Permitted Values
Type
enumeration
Default
ON
Valid
Values
ON
OFF
ALL
This option applies only to
MyISAM
tables. It can have one of the following values to affect handling
of the
DELAY_KEY_WRITE
table option that can be used in
CREATE TABLE
statements.
Option
Description
OFF
DELAY_KEY_WRITE
is ignored.
ON
MySQL honors any
DELAY_KEY_WRITE
option specified in
CREATE TABLE
statements. This is the default value.
ALL
All new opened tables are treated as if they were created with the
DELAY_KEY_WRITE
option enabled.
If
DELAY_KEY_WRITE
is enabled for a table, the key buffer is not flushed for the table on every index
update, but only when the table is closed. This speeds up writes on keys a lot, but if you use this
feature, you should add automatic checking of all
MyISAM
tables by starting the server with the
--
myisam-recover
[415]
option (for example,
--myisam-recover=BACKUP,FORCE
[415]
). See
Section 5.1.3, “Server Command Options”
, and
Section 14.1.1, “
MyISAM
Startup Options”
.
Warning
If you enable external locking with
--external-locking
[408]
, there is
no protection against index corruption for tables that use delayed key writes.
•
delayed_insert_limit
[447]
Command-Line Format
--delayed_insert_limit=#
Option-File Format
delayed_insert_limit
Option Sets Variable
Yes,
delayed_insert_limit
[447]
Variable Name
delayed_insert_limit
Variable Scope
Global
Dynamic Variable
Yes
Deprecated
5.6.7
Permitted Values
Platform
Bit Size
32
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 ...