summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-08-06 15:56:23 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-08-06 15:56:23 +0300
commitad97c62af88f432a16d9c039fec5514bfc0762ca (patch)
tree04ff4394730a9e9b3898b2e6ef288f9ff33b8c6b /support-files
parent59a63f059701f95b150ecd91620e8b2cbdd3dd2c (diff)
downloadmariadb-git-ad97c62af88f432a16d9c039fec5514bfc0762ca.tar.gz
Bug #54909: Confusing description about read_buffer_size and
read_rnd_buffer_size Applied the updated description from Paul's patch.
Diffstat (limited to 'support-files')
-rw-r--r--support-files/my-innodb-heavy-4G.cnf.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/support-files/my-innodb-heavy-4G.cnf.sh b/support-files/my-innodb-heavy-4G.cnf.sh
index e9390a5b9e8..000363b4126 100644
--- a/support-files/my-innodb-heavy-4G.cnf.sh
+++ b/support-files/my-innodb-heavy-4G.cnf.sh
@@ -109,6 +109,16 @@ binlog_cache_size = 1M
# table which could otherwise use up all memory resources.
max_heap_table_size = 64M
+# Size of the buffer used for doing full table scans.
+# Allocated per thread, if a full scan is needed.
+read_buffer_size = 2M
+
+# When reading rows in sorted order after a sort, the rows are read
+# through this buffer to avoid disk seeks. You can improve ORDER BY
+# performance a lot, if set this to a high value.
+# Allocated per thread, when needed.
+read_rnd_buffer_size = 16M
+
# Sort buffer is used to perform sorts for some ORDER BY and GROUP BY
# queries. If sorted data does not fit into the sort buffer, a disk
# based merge sort is used instead - See the "Sort_merge_passes"
@@ -310,16 +320,6 @@ server-id = 1
# used for internal temporary disk tables.
key_buffer_size = 32M
-# Size of the buffer used for doing full table scans of MyISAM tables.
-# Allocated per thread, if a full scan is needed.
-read_buffer_size = 2M
-
-# When reading rows in sorted order after a sort, the rows are read
-# through this buffer to avoid disk seeks. You can improve ORDER BY
-# performance a lot, if set this to a high value.
-# Allocated per thread, when needed.
-read_rnd_buffer_size = 16M
-
# MyISAM uses special tree-like cache to make bulk inserts (that is,
# INSERT ... SELECT, INSERT ... VALUES (...), (...), ..., and LOAD DATA
# INFILE) faster. This variable limits the size of the cache tree in