Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b111d988
Commit
b111d988
authored
Jan 08, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-5533 increase the default max thread pool size
500 -> 1000
parent
86551362
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/r/mysqld--help,win.rdiff
mysql-test/r/mysqld--help,win.rdiff
+1
-1
mysql-test/r/mysqld--help.result
mysql-test/r/mysqld--help.result
+1
-1
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
...l-test/suite/sys_vars/r/sysvars_server_notembedded.result
+2
-2
mysql-test/suite/sys_vars/r/thread_pool_max_threads_basic.result
...est/suite/sys_vars/r/thread_pool_max_threads_basic.result
+5
-5
sql/sys_vars.cc
sql/sys_vars.cc
+1
-1
No files found.
mysql-test/r/mysqld--help,win.rdiff
View file @
b111d988
...
...
@@ -122,7 +122,7 @@
tc-heuristic-recover COMMIT
thread-cache-size 0
-thread-pool-idle-timeout 60
thread-pool-max-threads
5
00
thread-pool-max-threads
10
00
-thread-pool-oversubscribe 3
-thread-pool-stall-limit 500
+thread-pool-min-threads 1
...
...
mysql-test/r/mysqld--help.result
View file @
b111d988
...
...
@@ -1378,7 +1378,7 @@ table-open-cache 400
tc-heuristic-recover COMMIT
thread-cache-size 0
thread-pool-idle-timeout 60
thread-pool-max-threads
5
00
thread-pool-max-threads
10
00
thread-pool-oversubscribe 3
thread-pool-stall-limit 500
thread-stack 294912
...
...
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
View file @
b111d988
...
...
@@ -4447,9 +4447,9 @@ READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME THREAD_POOL_MAX_THREADS
SESSION_VALUE NULL
GLOBAL_VALUE
5
00
GLOBAL_VALUE
10
00
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE
5
00
DEFAULT_VALUE
10
00
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE INT UNSIGNED
VARIABLE_COMMENT Maximum allowed number of worker threads in the thread pool
...
...
mysql-test/suite/sys_vars/r/thread_pool_max_threads_basic.result
View file @
b111d988
SET @start_global_value = @@global.thread_pool_max_threads;
select @@global.thread_pool_max_threads;
@@global.thread_pool_max_threads
5
00
10
00
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
5
00
thread_pool_max_threads
10
00
show session variables like 'thread_pool_max_threads';
Variable_name Value
thread_pool_max_threads
5
00
thread_pool_max_threads
10
00
select * from information_schema.global_variables where variable_name='thread_pool_max_threads';
VARIABLE_NAME VARIABLE_VALUE
THREAD_POOL_MAX_THREADS
5
00
THREAD_POOL_MAX_THREADS
10
00
select * from information_schema.session_variables where variable_name='thread_pool_max_threads';
VARIABLE_NAME VARIABLE_VALUE
THREAD_POOL_MAX_THREADS
5
00
THREAD_POOL_MAX_THREADS
10
00
set global thread_pool_max_threads=1;
select @@global.thread_pool_max_threads;
@@global.thread_pool_max_threads
...
...
sql/sys_vars.cc
View file @
b111d988
...
...
@@ -3279,7 +3279,7 @@ static Sys_var_uint Sys_threadpool_max_threads(
"thread_pool_max_threads"
,
"Maximum allowed number of worker threads in the thread pool"
,
GLOBAL_VAR
(
threadpool_max_threads
),
CMD_LINE
(
REQUIRED_ARG
),
VALID_RANGE
(
1
,
65536
),
DEFAULT
(
5
00
),
BLOCK_SIZE
(
1
),
VALID_RANGE
(
1
,
65536
),
DEFAULT
(
10
00
),
BLOCK_SIZE
(
1
),
NO_MUTEX_GUARD
,
NOT_IN_BINLOG
,
ON_CHECK
(
0
),
ON_UPDATE
(
fix_tp_max_threads
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment