mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Set new scheduling algorithm VATS for lock waits as a default.
This commit is contained in:
parent
201c1e0f29
commit
0c15d1a6ff
2 changed files with 3 additions and 3 deletions
|
@ -1449,9 +1449,9 @@ READ_ONLY YES
|
|||
COMMAND_LINE_ARGUMENT NONE
|
||||
VARIABLE_NAME INNODB_LOCK_SCHEDULE_ALGORITHM
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE fcfs
|
||||
GLOBAL_VALUE vats
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE fcfs
|
||||
DEFAULT_VALUE vats
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE ENUM
|
||||
VARIABLE_COMMENT The algorithm Innodb uses for deciding which locks to grant next when a lock is released. Possible values are FCFS grant the locks in First-Come-First-Served order; VATS use the Variance-Aware-Transaction-Scheduling algorithm, which uses an Eldest-Transaction-First heuristic.
|
||||
|
|
|
@ -22808,7 +22808,7 @@ static MYSQL_SYSVAR_ENUM(lock_schedule_algorithm, innodb_lock_schedule_algorithm
|
|||
" VATS"
|
||||
" use the Variance-Aware-Transaction-Scheduling algorithm, which"
|
||||
" uses an Eldest-Transaction-First heuristic.",
|
||||
NULL, NULL, INNODB_LOCK_SCHEDULE_ALGORITHM_FCFS,
|
||||
NULL, NULL, INNODB_LOCK_SCHEDULE_ALGORITHM_VATS,
|
||||
&innodb_lock_schedule_algorithm_typelib);
|
||||
|
||||
static MYSQL_SYSVAR_ULONG(buffer_pool_instances, srv_buf_pool_instances,
|
||||
|
|
Loading…
Reference in a new issue