mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
increase default for max threads in the pool to max allowed value (64K) currently
This commit is contained in:
@@ -4785,9 +4785,9 @@ READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME THREAD_POOL_MAX_THREADS
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE 1000
|
||||
GLOBAL_VALUE 65536
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE 1000
|
||||
DEFAULT_VALUE 65536
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Maximum allowed number of worker threads in the thread pool
|
||||
|
@@ -1,21 +1,21 @@
|
||||
SET @start_global_value = @@global.thread_pool_max_threads;
|
||||
select @@global.thread_pool_max_threads;
|
||||
@@global.thread_pool_max_threads
|
||||
1000
|
||||
65536
|
||||
select @@session.thread_pool_max_threads;
|
||||
ERROR HY000: Variable 'thread_pool_max_threads' is a GLOBAL variable
|
||||
show global variables like 'thread_pool_max_threads';
|
||||
Variable_name Value
|
||||
thread_pool_max_threads 1000
|
||||
thread_pool_max_threads 65536
|
||||
show session variables like 'thread_pool_max_threads';
|
||||
Variable_name Value
|
||||
thread_pool_max_threads 1000
|
||||
thread_pool_max_threads 65536
|
||||
select * from information_schema.global_variables where variable_name='thread_pool_max_threads';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
THREAD_POOL_MAX_THREADS 1000
|
||||
THREAD_POOL_MAX_THREADS 65536
|
||||
select * from information_schema.session_variables where variable_name='thread_pool_max_threads';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
THREAD_POOL_MAX_THREADS 1000
|
||||
THREAD_POOL_MAX_THREADS 65536
|
||||
set global thread_pool_max_threads=1;
|
||||
select @@global.thread_pool_max_threads;
|
||||
@@global.thread_pool_max_threads
|
||||
|
Reference in New Issue
Block a user