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
56122a8c
Commit
56122a8c
authored
Apr 01, 2009
by
Daniel Fischer
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
9530e5c7
af8393a6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
66 deletions
+17
-66
support-files/my-huge.cnf.sh
support-files/my-huge.cnf.sh
+3
-12
support-files/my-innodb-heavy-4G.cnf.sh
support-files/my-innodb-heavy-4G.cnf.sh
+5
-23
support-files/my-large.cnf.sh
support-files/my-large.cnf.sh
+3
-12
support-files/my-medium.cnf.sh
support-files/my-medium.cnf.sh
+3
-12
support-files/my-small.cnf.sh
support-files/my-small.cnf.sh
+3
-7
No files found.
support-files/my-huge.cnf.sh
View file @
56122a8c
...
...
@@ -26,9 +26,9 @@ socket = @MYSQL_UNIX_ADDR@
port
=
@MYSQL_TCP_PORT@
socket
=
@MYSQL_UNIX_ADDR@
skip-locking
key_buffer
=
384M
key_buffer
_size
=
384M
max_allowed_packet
=
1M
table_cache
=
512
table_
open_
cache
=
512
sort_buffer_size
=
2M
read_buffer_size
=
2M
read_rnd_buffer_size
=
8M
...
...
@@ -46,9 +46,6 @@ thread_concurrency = 8
#
#skip-networking
# Disable Federated by default
skip-federated
# Replication Master Server (default)
# binary logging is required for replication
log-bin
=
mysql-bin
...
...
@@ -143,14 +140,8 @@ no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[
isamchk]
key_buffer
=
256M
sort_buffer_size
=
256M
read_buffer
=
2M
write_buffer
=
2M
[
myisamchk]
key_buffer
=
256M
key_buffer
_size
=
256M
sort_buffer_size
=
256M
read_buffer
=
2M
write_buffer
=
2M
...
...
support-files/my-innodb-heavy-4G.cnf.sh
View file @
56122a8c
...
...
@@ -80,7 +80,7 @@ max_connect_errors = 10
# Therefore you have to make sure to set the amount of open files
# allowed to at least 4096 in the variable "open-files-limit" in
# section [mysqld_safe]
table_cache
=
2048
table_
open_
cache
=
2048
# Enable external file level locking. Enabled file locking will have a
# negative impact on performance, so only use it in case you have
...
...
@@ -167,7 +167,7 @@ ft_min_word_len = 4
# Table type which is used by default when creating new tables, if not
# specified differently during the CREATE TABLE statement.
default
_table_typ
e
=
MYISAM
default
-storage-engin
e
=
MYISAM
# Thread stack size to use. This amount of memory is always reserved at
# connection time. MySQL itself usually needs no more than 64K of
...
...
@@ -211,10 +211,10 @@ binlog_format=mixed
# Log slow queries. Slow queries are queries which take more than the
# amount of time defined in "long_query_time" or which do not use
# indexes well, if log_
long_format is
enabled. It is normally good idea
# indexes well, if log_
short_format is not
enabled. It is normally good idea
# to have this turned on if you frequently add new queries to the
# system.
log_slow_queries
slow_query_log
# All queries taking more than this amount of time (in seconds) will be
# trated as slow. Do not use "1" as a value here, as this will result in
...
...
@@ -222,11 +222,6 @@ log_slow_queries
# currently measures time with second accuracy only).
long_query_time
=
2
# Log more information in the slow query log. Normally it is good to
# have this turned on. This will enable logging of queries that are not
# using indexes in addition to long running queries.
log_long_format
# The directory used by MySQL for storing temporary files. For example,
# it is used to perform disk based large sorts, as well as for internal
# and explicit temporary tables. It might be good to put it on a
...
...
@@ -345,12 +340,6 @@ myisam_sort_buffer_size = 128M
# through the key cache (which is slower).
myisam_max_sort_file_size
=
10G
# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method. This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_max_extra_sort_file_size
=
10G
# If a table has more than one index, MyISAM can use more than one
# thread to repair them by sorting in parallel. This makes sense if you
# have multiple CPUs and plenty of memory.
...
...
@@ -359,7 +348,6 @@ myisam_repair_threads = 1
# Automatically check and repair not properly closed MyISAM tables.
myisam_recover
# *** INNODB Specific options ***
# Use this option if you have a MySQL server with InnoDB support enabled
...
...
@@ -482,14 +470,8 @@ no-auto-rehash
# Only allow UPDATEs and DELETEs that use keys.
#safe-updates
[
isamchk]
key_buffer
=
512M
sort_buffer_size
=
512M
read_buffer
=
8M
write_buffer
=
8M
[
myisamchk]
key_buffer
=
512M
key_buffer
_size
=
512M
sort_buffer_size
=
512M
read_buffer
=
8M
write_buffer
=
8M
...
...
support-files/my-large.cnf.sh
View file @
56122a8c
...
...
@@ -26,9 +26,9 @@ socket = @MYSQL_UNIX_ADDR@
port
=
@MYSQL_TCP_PORT@
socket
=
@MYSQL_UNIX_ADDR@
skip-locking
key_buffer
=
256M
key_buffer
_size
=
256M
max_allowed_packet
=
1M
table_cache
=
256
table_
open_
cache
=
256
sort_buffer_size
=
1M
read_buffer_size
=
1M
read_rnd_buffer_size
=
4M
...
...
@@ -46,9 +46,6 @@ thread_concurrency = 8
#
#skip-networking
# Disable Federated by default
skip-federated
# Replication Master Server (default)
# binary logging is required for replication
log-bin
=
mysql-bin
...
...
@@ -143,14 +140,8 @@ no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[
isamchk]
key_buffer
=
128M
sort_buffer_size
=
128M
read_buffer
=
2M
write_buffer
=
2M
[
myisamchk]
key_buffer
=
128M
key_buffer
_size
=
128M
sort_buffer_size
=
128M
read_buffer
=
2M
write_buffer
=
2M
...
...
support-files/my-medium.cnf.sh
View file @
56122a8c
...
...
@@ -27,9 +27,9 @@ socket = @MYSQL_UNIX_ADDR@
port
=
@MYSQL_TCP_PORT@
socket
=
@MYSQL_UNIX_ADDR@
skip-locking
key_buffer
=
16M
key_buffer
_size
=
16M
max_allowed_packet
=
1M
table_cache
=
64
table_
open_
cache
=
64
sort_buffer_size
=
512K
net_buffer_length
=
8K
read_buffer_size
=
256K
...
...
@@ -44,9 +44,6 @@ myisam_sort_buffer_size = 8M
#
#skip-networking
# Disable Federated by default
skip-federated
# Replication Master Server (default)
# binary logging is required for replication
log-bin
=
mysql-bin
...
...
@@ -141,14 +138,8 @@ no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[
isamchk]
key_buffer
=
20M
sort_buffer_size
=
20M
read_buffer
=
2M
write_buffer
=
2M
[
myisamchk]
key_buffer
=
20M
key_buffer
_size
=
20M
sort_buffer_size
=
20M
read_buffer
=
2M
write_buffer
=
2M
...
...
support-files/my-small.cnf.sh
View file @
56122a8c
...
...
@@ -27,9 +27,9 @@ socket = @MYSQL_UNIX_ADDR@
port
=
@MYSQL_TCP_PORT@
socket
=
@MYSQL_UNIX_ADDR@
skip-locking
key_buffer
=
16K
key_buffer
_size
=
16K
max_allowed_packet
=
1M
table_cache
=
4
table_
open_
cache
=
4
sort_buffer_size
=
64K
read_buffer_size
=
256K
read_rnd_buffer_size
=
256K
...
...
@@ -74,12 +74,8 @@ no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[
isamchk]
key_buffer
=
8M
sort_buffer_size
=
8M
[
myisamchk]
key_buffer
=
8M
key_buffer
_size
=
8M
sort_buffer_size
=
8M
[
mysqlhotcopy]
...
...
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