blob: ea8c016821259737a6ffa3e585b280ca1b0e3ab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
select @@global.thread_concurrency;
@@global.thread_concurrency
10
select @@session.thread_concurrency;
ERROR HY000: Variable 'thread_concurrency' is a GLOBAL variable
show global variables like 'thread_concurrency';
Variable_name Value
thread_concurrency 10
show session variables like 'thread_concurrency';
Variable_name Value
thread_concurrency 10
select * from information_schema.global_variables where variable_name='thread_concurrency';
VARIABLE_NAME VARIABLE_VALUE
THREAD_CONCURRENCY 10
select * from information_schema.session_variables where variable_name='thread_concurrency';
VARIABLE_NAME VARIABLE_VALUE
THREAD_CONCURRENCY 10
set global thread_concurrency=1;
ERROR HY000: Variable 'thread_concurrency' is a read only variable
set session thread_concurrency=1;
ERROR HY000: Variable 'thread_concurrency' is a read only variable
|