Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4d6d491a
Commit
4d6d491a
authored
Apr 23, 2003
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- updated sample my.cnf files: removed deprecated set-variable keywords
parent
a6038595
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
94 additions
and
94 deletions
+94
-94
support-files/my-huge.cnf.sh
support-files/my-huge.cnf.sh
+26
-26
support-files/my-large.cnf.sh
support-files/my-large.cnf.sh
+26
-26
support-files/my-medium.cnf.sh
support-files/my-medium.cnf.sh
+24
-24
support-files/my-small.cnf.sh
support-files/my-small.cnf.sh
+18
-18
No files found.
support-files/my-huge.cnf.sh
View file @
4d6d491a
...
...
@@ -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
s
et-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
s
ort_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
s
et-variable
=
sort_buffer_size
=
256M
set-variable
=
read_buffer
=
2M
set-variable
=
write_buffer
=
2M
key_buffer
=
256M
s
ort_buffer_size
=
256M
read_buffer
=
2M
write_buffer
=
2M
[
myisamchk]
set-variable
=
key_buffer
=
256M
s
et-variable
=
sort_buffer_size
=
256M
set-variable
=
read_buffer
=
2M
set-variable
=
write_buffer
=
2M
key_buffer
=
256M
s
ort_buffer_size
=
256M
read_buffer
=
2M
write_buffer
=
2M
[
mysqlhotcopy]
interactive-timeout
support-files/my-large.cnf.sh
View file @
4d6d491a
...
...
@@ -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
s
et-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
s
ort_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
s
et-variable
=
sort_buffer_size
=
128M
set-variable
=
read_buffer
=
2M
set-variable
=
write_buffer
=
2M
key_buffer
=
128M
s
ort_buffer_size
=
128M
read_buffer
=
2M
write_buffer
=
2M
[
myisamchk]
set-variable
=
key_buffer
=
128M
s
et-variable
=
sort_buffer_size
=
128M
set-variable
=
read_buffer
=
2M
set-variable
=
write_buffer
=
2M
key_buffer
=
128M
s
ort_buffer_size
=
128M
read_buffer
=
2M
write_buffer
=
2M
[
mysqlhotcopy]
interactive-timeout
support-files/my-medium.cnf.sh
View file @
4d6d491a
...
...
@@ -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
s
et-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
s
ort_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
s
et-variable
=
sort_buffer_size
=
20M
set-variable
=
read_buffer
=
2M
set-variable
=
write_buffer
=
2M
key_buffer
=
20M
s
ort_buffer_size
=
20M
read_buffer
=
2M
write_buffer
=
2M
[
myisamchk]
set-variable
=
key_buffer
=
20M
s
et-variable
=
sort_buffer_size
=
20M
set-variable
=
read_buffer
=
2M
set-variable
=
write_buffer
=
2M
key_buffer
=
20M
s
ort_buffer_size
=
20M
read_buffer
=
2M
write_buffer
=
2M
[
mysqlhotcopy]
interactive-timeout
support-files/my-small.cnf.sh
View file @
4d6d491a
...
...
@@ -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
s
et-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
s
ort_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
s
et-variable
=
sort_buffer_size
=
8M
key_buffer
=
8M
s
ort_buffer_size
=
8M
[
myisamchk]
set-variable
=
key_buffer
=
8M
s
et-variable
=
sort_buffer_size
=
8M
key_buffer
=
8M
s
ort_buffer_size
=
8M
[
mysqlhotcopy]
interactive-timeout
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment