my-huge.cnf.sh, my-small.cnf.sh, my-medium.cnf.sh, my-large.cnf.sh:

  Update my.cnf example files to reflect InnoDB autoextend and also simplify them for InnoDB
parent f5dfd7e4
...@@ -46,20 +46,19 @@ server-id = 1 ...@@ -46,20 +46,19 @@ server-id = 1
#set-variable = bdb_cache_size=384M #set-variable = bdb_cache_size=384M
#set-variable = bdb_max_lock=100000 #set-variable = bdb_max_lock=100000
# Uncomment the following if you are using Innobase tables # Uncomment the following if you are using InnoDB tables
#innodb_data_file_path = ibdata1:2000M;ibdata2:2000M
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@/
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@/
#innodb_log_arch_dir = @localstatedir@/ #innodb_log_arch_dir = @localstatedir@/
#set-variable = innodb_mirrored_log_groups=1 # You can set .._buffer_pool_size up to 50 - 80 %
#set-variable = innodb_log_files_in_group=3 # of RAM but beware of setting memory usage too high
#set-variable = innodb_log_file_size=5M #set-variable = innodb_buffer_pool_size=384M
#set-variable = innodb_additional_mem_pool_size=20M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=100M
#set-variable = innodb_log_buffer_size=8M #set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1 #innodb_flush_log_at_trx_commit=1
#innodb_log_archive=0
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50 #set-variable = innodb_lock_wait_timeout=50
[mysqldump] [mysqldump]
......
...@@ -42,20 +42,19 @@ server-id = 1 ...@@ -42,20 +42,19 @@ server-id = 1
#set-variable = bdb_cache_size=64M #set-variable = bdb_cache_size=64M
#set-variable = bdb_max_lock=100000 #set-variable = bdb_max_lock=100000
# Uncomment the following if you are using Innobase tables # Uncomment the following if you are using InnoDB tables
#innodb_data_file_path = ibdata1:1000M
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@/
#innodb_log_arch_dir = @localstatedir@/ #innodb_log_arch_dir = @localstatedir@/
#set-variable = innodb_mirrored_log_groups=1 # You can set .._buffer_pool_size up to 50 - 80 %
#set-variable = innodb_log_files_in_group=3 # of RAM but beware of setting memory usage too high
#set-variable = innodb_log_file_size=5M #set-variable = innodb_buffer_pool_size=256M
#set-variable = innodb_additional_mem_pool_size=20M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=64M
#set-variable = innodb_log_buffer_size=8M #set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1 #innodb_flush_log_at_trx_commit=1
#innodb_log_archive=0
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50 #set-variable = innodb_lock_wait_timeout=50
# Point the following paths to different dedicated disks # Point the following paths to different dedicated disks
......
...@@ -44,20 +44,19 @@ server-id = 1 ...@@ -44,20 +44,19 @@ server-id = 1
#set-variable = bdb_cache_size=4M #set-variable = bdb_cache_size=4M
#set-variable = bdb_max_lock=10000 #set-variable = bdb_max_lock=10000
# Uncomment the following if you are using Innobase tables # Uncomment the following if you are using InnoDB tables
#innodb_data_file_path = ibdata1:400M
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@/
#innodb_log_arch_dir = @localstatedir@/ #innodb_log_arch_dir = @localstatedir@/
#set-variable = innodb_mirrored_log_groups=1 # You can set .._buffer_pool_size up to 50 - 80 %
#set-variable = innodb_log_files_in_group=3 # of RAM but beware of setting memory usage too high
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M #set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M #set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1 #innodb_flush_log_at_trx_commit=1
#innodb_log_archive=0
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50 #set-variable = innodb_lock_wait_timeout=50
[mysqldump] [mysqldump]
......
...@@ -41,20 +41,19 @@ server-id = 1 ...@@ -41,20 +41,19 @@ server-id = 1
# Uncomment the following if you are NOT using BDB tables # Uncomment the following if you are NOT using BDB tables
#skip-bdb #skip-bdb
# Uncomment the following if you are using Innobase tables # Uncomment the following if you are using InnoDB tables
#innodb_data_file_path = ibdata1:100M
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@/
#innodb_log_arch_dir = @localstatedir@/ #innodb_log_arch_dir = @localstatedir@/
#set-variable = innodb_mirrored_log_groups=1 # You can set .._buffer_pool_size up to 50 - 80 %
#set-variable = innodb_log_files_in_group=3 # of RAM but beware of setting memory usage too high
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M #set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M #set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1 #innodb_flush_log_at_trx_commit=1
#innodb_log_archive=0
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50 #set-variable = innodb_lock_wait_timeout=50
[mysqldump] [mysqldump]
......
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