summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorunknown <aivanov/alexi@mysql.com/mysqld.localdomain>2006-07-29 03:56:23 +0400
committerunknown <aivanov/alexi@mysql.com/mysqld.localdomain>2006-07-29 03:56:23 +0400
commit605871f5d5fc2161e26250a3fc89b7dd4cbb9d34 (patch)
treef87f27b9b1b726c9761e1b9bec640cdaea029071 /sql/mysqld.cc
parent7b283775ef584ea09734003c0f3f0d2bee0fc204 (diff)
downloadmariadb-git-605871f5d5fc2161e26250a3fc89b7dd4cbb9d34.tar.gz
Make innodb_thread_concurrency 0 by default, and extend
the usable range to 0..1000 (0 disables the thread throttling). sql/mysqld.cc: innodb_thread_concurrency is 0..1000 now, and 0 (the default) disables the thread throttling.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 93ed663ae06..3d10cf74668 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -5899,9 +5899,11 @@ log and this option does nothing anymore.",
(gptr*) &srv_n_spin_wait_rounds,
0, GET_LONG, REQUIRED_ARG, 20L, 0L, ~0L, 0, 1L, 0},
{"innodb_thread_concurrency", OPT_INNODB_THREAD_CONCURRENCY,
- "Helps in performance tuning in heavily concurrent environments.",
+ "Helps in performance tuning in heavily concurrent environments. "
+ "Sets the maximum number of threads allowed inside InnoDB. Value 0"
+ " will disable the thread throttling.",
(gptr*) &srv_thread_concurrency, (gptr*) &srv_thread_concurrency,
- 0, GET_LONG, REQUIRED_ARG, 8, 1, 1000, 0, 1, 0},
+ 0, GET_LONG, REQUIRED_ARG, 8, 0, 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",