summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-05-03 15:55:53 +0300
committerunknown <marko@hundin.mysql.fi>2005-05-03 15:55:53 +0300
commit3fa548b8f244be0155690871d4649b9c744b3001 (patch)
tree842cbe05a3c75455ea4671b2044f1fc1c12a4c92 /sql/mysqld.cc
parent279402887e53c39361297477012d023aab93327f (diff)
downloadmariadb-git-3fa548b8f244be0155690871d4649b9c744b3001.tar.gz
InnoDB: Disable throttling against thread thrashing by default.
sql/ha_innodb.cc: Remove unused variable innobase_thread_concurrency. Add UNIV_LIKELY hints to srv_thread_concurrency tests and lower the limit from 500 to 20. sql/ha_innodb.h: Remove unused variable innobase_thread_concurrency. sql/mysqld.cc: Make innodb_thread_concurrency=20 by default (it was 8).
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 9c592d068ee..845a4450bef 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -5170,7 +5170,7 @@ log and this option does nothing anymore.",
{"innodb_thread_concurrency", OPT_INNODB_THREAD_CONCURRENCY,
"Helps in performance tuning in heavily concurrent environments.",
(gptr*) &srv_thread_concurrency, (gptr*) &srv_thread_concurrency,
- 0, GET_LONG, REQUIRED_ARG, 8, 1, 1000, 0, 1, 0},
+ 0, GET_LONG, REQUIRED_ARG, 20, 1, 1000, 0, 1, 0},
{"innodb_thread_sleep_delay", OPT_INNODB_THREAD_SLEEP_DELAY,
"Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0"
" disable a sleep",