Commit 9f479c52 authored by unknown's avatar unknown

manual.texi:

  Clarification of InnoDB startup options


Docs/manual.texi:
  Clarification of InnoDB startup options
parent 77bda1af
...@@ -36797,8 +36797,12 @@ the configuration file @file{my.cnf}. @xref{Option files}. ...@@ -36797,8 +36797,12 @@ the configuration file @file{my.cnf}. @xref{Option files}.
The only required parameter to use InnoDB is @code{innodb_data_file_path}, The only required parameter to use InnoDB is @code{innodb_data_file_path},
but you should set others if you want to get a better performance. but you should set others if you want to get a better performance.
The default value for @code{innodb_data_home_dir} is the @code<datadir}
of MySQL. If you do not specify @code{innodb_data_home_dir}, then
you cannot use absolute paths in @code{innodb_data_file_path}.
Suppose you have a Windows NT machine with 128 MB RAM and a single 10 GB Suppose you have a Windows NT machine with 128 MB RAM and a single 10 GB
hard disk. Below is an example of possible configuration parameters in hard disk. Below is an example of possible configuration parameters in
@file{my.cnf} for InnoDB: @file{my.cnf} for InnoDB:
@example @example
...@@ -36832,9 +36836,11 @@ set-variable = innodb_file_io_threads=4 ...@@ -36832,9 +36836,11 @@ set-variable = innodb_file_io_threads=4
set-variable = innodb_lock_wait_timeout=50 set-variable = innodb_lock_wait_timeout=50
@end example @end example
Note that data files must be < 4G, and < 2G on Note that data files must be < 2G in
some file systems! The total size of data files has some file systems! The total size of data files has
to be >= 10 MB. to be >= 10 MB. The combined size of log files MUST be < 4G
in 32-bit computers.
InnoDB does not create directories: InnoDB does not create directories:
you have to create them yourself. you have to create them yourself.
Check that the MySQL server Check that the MySQL server
...@@ -36902,10 +36908,6 @@ improve the performance of the database if all data is not placed ...@@ -36902,10 +36908,6 @@ improve the performance of the database if all data is not placed
on the same physical disk. Putting log files on a different disk from on the same physical disk. Putting log files on a different disk from
data is very often beneficial for performance. data is very often beneficial for performance.
The combined size of the log files MUST be < 4G in a 32-bit computer,
and to make recovery reasonably fast you should keep the combined size
smaller than the buffer pool size.
The meanings of the configuration parameters are the following: The meanings of the configuration parameters are the following:
@multitable @columnfractions .30 .70 @multitable @columnfractions .30 .70
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment