InnoDB
Startup Options and System Variables
1247
This variable is unused, and is deprecated as of MySQL 5.0.24. It is removed in MySQL 5.1
•
innodb_log_archive
Whether to log
InnoDB
archive files. This variable is present for historical reasons, but is unused.
Recovery from a backup is done by MySQL using its own log files, so there is no need to archive
InnoDB
log files. The default for this variable is 0.
•
innodb_log_buffer_size
Command-Line Format
--innodb_log_buffer_size=#
Option-File Format
innodb_log_buffer_size
Option Sets Variable
Yes,
innodb_log_buffer_size
[1247]
Variable Name
innodb_log_buffer_size
Variable Scope
Global
Dynamic Variable
No
Permitted Values
Type
numeric
Default
1048576
Range
1048576 .. 4294967295
The size in bytes of the buffer that
InnoDB
uses to write to the log files on disk. The default value
is 1MB. Sensible values range from 1MB to 8MB. A large log buffer enables large transactions to
run without a need to write the log to disk before the transactions commit. Thus, if you have big
transactions, making the log buffer larger saves disk I/O.
•
innodb_log_file_size
Command-Line Format
--innodb_log_file_size=#
Option-File Format
innodb_log_file_size
Option Sets Variable
Yes,
innodb_log_file_size
[1247]
Variable Name
innodb_log_file_size
Variable Scope
Global
Dynamic Variable
No
Permitted Values
Type
numeric
Default
5242880
Range
1048576 .. 4294967295
The size in bytes of each log file in a log group. The combined size of log files must be less than
4GB. The default value is 5MB. Sensible values range from 1MB to 1/
N
-th of the size of the buffer
pool, where
N
is the number of log files in the group. The larger the value, the less checkpoint flush
activity is needed in the buffer pool, saving disk I/O. But larger log files also mean that recovery is
slower in case of a crash.
•
innodb_log_files_in_group
Command-Line Format
--innodb_log_files_in_group=#
Option-File Format
innodb_log_files_in_group
Option Sets Variable
Yes,
innodb_log_files_in_group
[1247]
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 ...