mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
- updated sample my.cnf files: removed deprecated set-variable keywords
support-files/my-huge.cnf.sh: - removed deprecated "set-variable" keywords from options support-files/my-large.cnf.sh: - removed deprecated "set-variable" keywords from options support-files/my-medium.cnf.sh: - removed deprecated "set-variable" keywords from options support-files/my-small.cnf.sh: - removed deprecated "set-variable" keywords from options
This commit is contained in:
parent
2d1411dffa
commit
2c2bc003e2
@ -26,21 +26,21 @@ socket = @MYSQL_UNIX_ADDR@
|
||||
port = @MYSQL_TCP_PORT@
|
||||
socket = @MYSQL_UNIX_ADDR@
|
||||
skip-locking
|
||||
set-variable = key_buffer=384M
|
||||
set-variable = max_allowed_packet=1M
|
||||
set-variable = table_cache=512
|
||||
set-variable = sort_buffer_size=2M
|
||||
set-variable = read_buffer_size=2M
|
||||
set-variable = myisam_sort_buffer_size=64M
|
||||
set-variable = thread_cache=8
|
||||
key_buffer = 384M
|
||||
max_allowed_packet = 1M
|
||||
table_cache = 512
|
||||
sort_buffer_size = 2M
|
||||
read_buffer_size = 2M
|
||||
myisam_sort_buffer_size = 64M
|
||||
thread_cache = 8
|
||||
# Try number of CPU's*2 for thread_concurrency
|
||||
set-variable = thread_concurrency=8
|
||||
thread_concurrency = 8
|
||||
|
||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||
# if all processes that need to connect to mysqld run on the same host.
|
||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||
# Note that using this option without enabling named pipes on Windows
|
||||
# (via the "pipe" option) will render mysqld useless!
|
||||
# (via the "enable-named-pipe" option) will render mysqld useless!
|
||||
#
|
||||
#skip-networking
|
||||
|
||||
@ -113,8 +113,8 @@ server-id = 1
|
||||
#log-update = /path-to-dedicated-directory/hostname
|
||||
|
||||
# Uncomment the following if you are using BDB tables
|
||||
#set-variable = bdb_cache_size=384M
|
||||
#set-variable = bdb_max_lock=100000
|
||||
#bdb_cache_size = 384M
|
||||
#bdb_max_lock = 100000
|
||||
|
||||
# Uncomment the following if you are using InnoDB tables
|
||||
#innodb_data_home_dir = @localstatedir@/
|
||||
@ -123,17 +123,17 @@ server-id = 1
|
||||
#innodb_log_arch_dir = @localstatedir@/
|
||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||
# of RAM but beware of setting memory usage too high
|
||||
#set-variable = innodb_buffer_pool_size=384M
|
||||
#set-variable = innodb_additional_mem_pool_size=20M
|
||||
#innodb_buffer_pool_size = 384M
|
||||
#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
|
||||
#innodb_flush_log_at_trx_commit=1
|
||||
#set-variable = innodb_lock_wait_timeout=50
|
||||
#innodb_log_file_size = 100M
|
||||
#innodb_log_buffer_size = 8M
|
||||
#innodb_flush_log_at_trx_commit = 1
|
||||
#innodb_lock_wait_timeout = 50
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
set-variable = max_allowed_packet=16M
|
||||
max_allowed_packet = 16M
|
||||
|
||||
[mysql]
|
||||
no-auto-rehash
|
||||
@ -141,16 +141,16 @@ no-auto-rehash
|
||||
#safe-updates
|
||||
|
||||
[isamchk]
|
||||
set-variable = key_buffer=256M
|
||||
set-variable = sort_buffer_size=256M
|
||||
set-variable = read_buffer=2M
|
||||
set-variable = write_buffer=2M
|
||||
key_buffer = 256M
|
||||
sort_buffer_size = 256M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[myisamchk]
|
||||
set-variable = key_buffer=256M
|
||||
set-variable = sort_buffer_size=256M
|
||||
set-variable = read_buffer=2M
|
||||
set-variable = write_buffer=2M
|
||||
key_buffer = 256M
|
||||
sort_buffer_size = 256M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[mysqlhotcopy]
|
||||
interactive-timeout
|
||||
|
@ -26,21 +26,21 @@ socket = @MYSQL_UNIX_ADDR@
|
||||
port = @MYSQL_TCP_PORT@
|
||||
socket = @MYSQL_UNIX_ADDR@
|
||||
skip-locking
|
||||
set-variable = key_buffer=256M
|
||||
set-variable = max_allowed_packet=1M
|
||||
set-variable = table_cache=256
|
||||
set-variable = sort_buffer_size=1M
|
||||
set-variable = read_buffer_size=1M
|
||||
set-variable = myisam_sort_buffer_size=64M
|
||||
set-variable = thread_cache=8
|
||||
key_buffer = 256M
|
||||
max_allowed_packet = 1M
|
||||
table_cache = 256
|
||||
sort_buffer_size = 1M
|
||||
read_buffer_size = 1M
|
||||
myisam_sort_buffer_size = 64M
|
||||
thread_cache = 8
|
||||
# Try number of CPU's*2 for thread_concurrency
|
||||
set-variable = thread_concurrency=8
|
||||
thread_concurrency = 8
|
||||
|
||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||
# if all processes that need to connect to mysqld run on the same host.
|
||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||
# Note that using this option without enabling named pipes on Windows
|
||||
# (via the "pipe" option) will render mysqld useless!
|
||||
# (via the "enable-named-pipe" option) will render mysqld useless!
|
||||
#
|
||||
#skip-networking
|
||||
|
||||
@ -113,8 +113,8 @@ server-id = 1
|
||||
#log-update = /path-to-dedicated-directory/hostname
|
||||
|
||||
# Uncomment the following if you are using BDB tables
|
||||
#set-variable = bdb_cache_size=64M
|
||||
#set-variable = bdb_max_lock=100000
|
||||
#bdb_cache_size = 64M
|
||||
#bdb_max_lock = 100000
|
||||
|
||||
# Uncomment the following if you are using InnoDB tables
|
||||
#innodb_data_home_dir = @localstatedir@/
|
||||
@ -123,17 +123,17 @@ server-id = 1
|
||||
#innodb_log_arch_dir = @localstatedir@/
|
||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||
# of RAM but beware of setting memory usage too high
|
||||
#set-variable = innodb_buffer_pool_size=256M
|
||||
#set-variable = innodb_additional_mem_pool_size=20M
|
||||
#innodb_buffer_pool_size = 256M
|
||||
#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
|
||||
#innodb_flush_log_at_trx_commit=1
|
||||
#set-variable = innodb_lock_wait_timeout=50
|
||||
#innodb_log_file_size = 64M
|
||||
#innodb_log_buffer_size = 8M
|
||||
#innodb_flush_log_at_trx_commit = 1
|
||||
#innodb_lock_wait_timeout = 50
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
set-variable = max_allowed_packet=16M
|
||||
max_allowed_packet = 16M
|
||||
|
||||
[mysql]
|
||||
no-auto-rehash
|
||||
@ -141,16 +141,16 @@ no-auto-rehash
|
||||
#safe-updates
|
||||
|
||||
[isamchk]
|
||||
set-variable = key_buffer=128M
|
||||
set-variable = sort_buffer_size=128M
|
||||
set-variable = read_buffer=2M
|
||||
set-variable = write_buffer=2M
|
||||
key_buffer = 128M
|
||||
sort_buffer_size = 128M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[myisamchk]
|
||||
set-variable = key_buffer=128M
|
||||
set-variable = sort_buffer_size=128M
|
||||
set-variable = read_buffer=2M
|
||||
set-variable = write_buffer=2M
|
||||
key_buffer = 128M
|
||||
sort_buffer_size = 128M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[mysqlhotcopy]
|
||||
interactive-timeout
|
||||
|
@ -27,18 +27,18 @@ socket = @MYSQL_UNIX_ADDR@
|
||||
port = @MYSQL_TCP_PORT@
|
||||
socket = @MYSQL_UNIX_ADDR@
|
||||
skip-locking
|
||||
set-variable = key_buffer=16M
|
||||
set-variable = max_allowed_packet=1M
|
||||
set-variable = table_cache=64
|
||||
set-variable = sort_buffer_size=512K
|
||||
set-variable = net_buffer_length=8K
|
||||
set-variable = myisam_sort_buffer_size=8M
|
||||
key_buffer = 16M
|
||||
max_allowed_packet = 1M
|
||||
table_cache = 64
|
||||
sort_buffer_size = 512K
|
||||
net_buffer_length = 8K
|
||||
myisam_sort_buffer_size = 8M
|
||||
|
||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||
# if all processes that need to connect to mysqld run on the same host.
|
||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||
# Note that using this option without enabling named pipes on Windows
|
||||
# (via the "pipe" option) will render mysqld useless!
|
||||
# (via the "enable-named-pipe" option) will render mysqld useless!
|
||||
#
|
||||
#skip-networking
|
||||
|
||||
@ -111,8 +111,8 @@ server-id = 1
|
||||
#log-update = /path-to-dedicated-directory/hostname
|
||||
|
||||
# Uncomment the following if you are using BDB tables
|
||||
#set-variable = bdb_cache_size=4M
|
||||
#set-variable = bdb_max_lock=10000
|
||||
#bdb_cache_size = 4M
|
||||
#bdb_max_lock = 10000
|
||||
|
||||
# Uncomment the following if you are using InnoDB tables
|
||||
#innodb_data_home_dir = @localstatedir@/
|
||||
@ -121,17 +121,17 @@ server-id = 1
|
||||
#innodb_log_arch_dir = @localstatedir@/
|
||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||
# 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
|
||||
#innodb_buffer_pool_size = 16M
|
||||
#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_buffer_size=8M
|
||||
#innodb_flush_log_at_trx_commit=1
|
||||
#set-variable = innodb_lock_wait_timeout=50
|
||||
#innodb_log_file_size = 5M
|
||||
#innodb_log_buffer_size = 8M
|
||||
#innodb_flush_log_at_trx_commit = 1
|
||||
#innodb_lock_wait_timeout = 50
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
set-variable = max_allowed_packet=16M
|
||||
max_allowed_packet = 16M
|
||||
|
||||
[mysql]
|
||||
no-auto-rehash
|
||||
@ -139,16 +139,16 @@ no-auto-rehash
|
||||
#safe-updates
|
||||
|
||||
[isamchk]
|
||||
set-variable = key_buffer=20M
|
||||
set-variable = sort_buffer_size=20M
|
||||
set-variable = read_buffer=2M
|
||||
set-variable = write_buffer=2M
|
||||
key_buffer = 20M
|
||||
sort_buffer_size = 20M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[myisamchk]
|
||||
set-variable = key_buffer=20M
|
||||
set-variable = sort_buffer_size=20M
|
||||
set-variable = read_buffer=2M
|
||||
set-variable = write_buffer=2M
|
||||
key_buffer = 20M
|
||||
sort_buffer_size = 20M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[mysqlhotcopy]
|
||||
interactive-timeout
|
||||
|
@ -27,18 +27,18 @@ socket = @MYSQL_UNIX_ADDR@
|
||||
port = @MYSQL_TCP_PORT@
|
||||
socket = @MYSQL_UNIX_ADDR@
|
||||
skip-locking
|
||||
set-variable = key_buffer=16K
|
||||
set-variable = max_allowed_packet=1M
|
||||
set-variable = table_cache=4
|
||||
set-variable = sort_buffer_size=64K
|
||||
set-variable = net_buffer_length=2K
|
||||
set-variable = thread_stack=64K
|
||||
key_buffer = 16K
|
||||
max_allowed_packet = 1M
|
||||
table_cache = 4
|
||||
sort_buffer_size = 64K
|
||||
net_buffer_length = 2K
|
||||
thread_stack = 64K
|
||||
|
||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||
# if all processes that need to connect to mysqld run on the same host.
|
||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||
# Note that using this option without enabling named pipes on Windows
|
||||
# (via the "pipe" option) will render mysqld useless!
|
||||
# (using the "enable-named-pipe" option) will render mysqld useless!
|
||||
#
|
||||
#skip-networking
|
||||
server-id = 1
|
||||
@ -56,17 +56,17 @@ server-id = 1
|
||||
#innodb_log_arch_dir = @localstatedir@/
|
||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||
# 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
|
||||
#innodb_buffer_pool_size = 16M
|
||||
#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_buffer_size=8M
|
||||
#innodb_flush_log_at_trx_commit=1
|
||||
#set-variable = innodb_lock_wait_timeout=50
|
||||
#innodb_log_file_size = 5M
|
||||
#innodb_log_buffer_size = 8M
|
||||
#innodb_flush_log_at_trx_commit = 1
|
||||
#innodb_lock_wait_timeout = 50
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
set-variable = max_allowed_packet=16M
|
||||
max_allowed_packet = 16M
|
||||
|
||||
[mysql]
|
||||
no-auto-rehash
|
||||
@ -74,12 +74,12 @@ no-auto-rehash
|
||||
#safe-updates
|
||||
|
||||
[isamchk]
|
||||
set-variable = key_buffer=8M
|
||||
set-variable = sort_buffer_size=8M
|
||||
key_buffer = 8M
|
||||
sort_buffer_size = 8M
|
||||
|
||||
[myisamchk]
|
||||
set-variable = key_buffer=8M
|
||||
set-variable = sort_buffer_size=8M
|
||||
key_buffer = 8M
|
||||
sort_buffer_size = 8M
|
||||
|
||||
[mysqlhotcopy]
|
||||
interactive-timeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user