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
25f45c0d
Commit
25f45c0d
authored
Feb 11, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Make innodb_thread_concurrency=0 the default.
The old default was 8.
parent
3c6d9917
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
ChangeLog
ChangeLog
+8
-0
handler/ha_innodb.cc
handler/ha_innodb.cc
+1
-1
mysql-test/innodb.result
mysql-test/innodb.result
+1
-1
No files found.
ChangeLog
View file @
25f45c0d
2009-02-11 The InnoDB Team
* handler/ha_innodb.cc:
Make innodb_thread_concurrency=0 the default. The old default
value was 8. A non-zero setting may be useful when InnoDB is
showing severe scalability problems under multiple concurrent
connections.
2009-02-10 The InnoDB Team
* handler/ha_innodb.h, handler/ha_innodb.cc:
...
...
handler/ha_innodb.cc
View file @
25f45c0d
...
...
@@ -9682,7 +9682,7 @@ static MYSQL_SYSVAR_ULONG(sync_spin_loops, srv_n_spin_wait_rounds,
static
MYSQL_SYSVAR_ULONG
(
thread_concurrency
,
srv_thread_concurrency
,
PLUGIN_VAR_RQCMDARG
,
"Helps in performance tuning in heavily concurrent environments. Sets the maximum number of threads allowed inside InnoDB. Value 0 will disable the thread throttling."
,
NULL
,
NULL
,
8
,
0
,
1000
,
0
);
NULL
,
NULL
,
0
,
0
,
1000
,
0
);
static
MYSQL_SYSVAR_ULONG
(
thread_sleep_delay
,
srv_thread_sleep_delay
,
PLUGIN_VAR_RQCMDARG
,
...
...
mysql-test/innodb.result
View file @
25f45c0d
...
...
@@ -1783,7 +1783,7 @@ Variable_name Value
innodb_sync_spin_loops 20
show variables like "innodb_thread_concurrency";
Variable_name Value
innodb_thread_concurrency
8
innodb_thread_concurrency
0
set global innodb_thread_concurrency=1001;
Warnings:
Warning 1292 Truncated incorrect thread_concurrency value: '1001'
...
...
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