mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
set_var.cc, mysqld.cc, ha_innodb.h, ha_innodb.cc, srv0srv.c, srv0srv.h:
Added innodb_commit_concurrency variable innobase/include/srv0srv.h: Added innodb_commit_concurrency variable innobase/srv/srv0srv.c: Added innodb_commit_concurrency variable sql/ha_innodb.cc: Added innodb_commit_concurrency variable sql/ha_innodb.h: Added innodb_commit_concurrency variable sql/mysqld.cc: Added innodb_commit_concurrency variable sql/set_var.cc: Added innodb_commit_concurrency variable
This commit is contained in:
parent
98da6d5ffb
commit
8158bb033d
6 changed files with 55 additions and 3 deletions
|
|
@ -94,6 +94,7 @@ extern ulint srv_max_dirty_pages_pct;
|
|||
|
||||
extern ulint srv_force_recovery;
|
||||
extern ulong srv_thread_concurrency;
|
||||
extern ulong srv_commit_concurrency;
|
||||
|
||||
extern ulint srv_max_n_threads;
|
||||
|
||||
|
|
|
|||
|
|
@ -261,6 +261,7 @@ Value 10 should be good if there are less than 4 processors + 4 disks in the
|
|||
computer. Bigger computers need bigger values. */
|
||||
|
||||
ulong srv_thread_concurrency = SRV_CONCURRENCY_THRESHOLD;
|
||||
ulong srv_commit_concurrency = 0;
|
||||
|
||||
os_fast_mutex_t srv_conc_mutex; /* this mutex protects srv_conc data
|
||||
structures */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue