You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
SET @def_var= @@session.transaction_prealloc_size;
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*1;
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info
|
|
<Id> event_scheduler <Host> NULL Daemon <Time> <State> NULL
|
|
<Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*2;
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info
|
|
<Id> event_scheduler <Host> NULL Daemon <Time> <State> NULL
|
|
<Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*3;
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info
|
|
<Id> event_scheduler <Host> NULL Daemon <Time> <State> NULL
|
|
<Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*4;
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info
|
|
<Id> event_scheduler <Host> NULL Daemon <Time> <State> NULL
|
|
<Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*5;
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info
|
|
<Id> event_scheduler <Host> NULL Daemon <Time> <State> NULL
|
|
<Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST
|
|
SET @@session.transaction_prealloc_size= @def_var;
|
|
|