polardbxengine/mysql-test/r/variables-big.result

28 lines
1.2 KiB
Plaintext

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;