Commit 8ca07bf5 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

manual.texi:

  Clarification of InnoDB startup options
parent 61b68f11
...@@ -36797,6 +36797,10 @@ the configuration file @file{my.cnf}. @xref{Option files}. ...@@ -36797,6 +36797,10 @@ 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:
...@@ -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