2011-05-24 11:16:34 +02:00
|
|
|
SET @def_var= @@session.transaction_prealloc_size;
|
2009-03-25 19:30:43 +01:00
|
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*1;
|
|
|
|
SHOW PROCESSLIST;
|
2007-04-12 18:03:26 -04:00
|
|
|
Id User Host db Command Time State Info
|
2010-11-15 16:17:38 +01:00
|
|
|
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST
|
2009-03-25 19:30:43 +01:00
|
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*2;
|
|
|
|
SHOW PROCESSLIST;
|
2007-04-12 18:03:26 -04:00
|
|
|
Id User Host db Command Time State Info
|
2010-11-15 16:17:38 +01:00
|
|
|
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST
|
2009-03-25 19:30:43 +01:00
|
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*3;
|
|
|
|
SHOW PROCESSLIST;
|
2007-04-12 18:03:26 -04:00
|
|
|
Id User Host db Command Time State Info
|
2010-11-15 16:17:38 +01:00
|
|
|
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST
|
2009-03-25 19:30:43 +01:00
|
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*4;
|
|
|
|
SHOW PROCESSLIST;
|
2007-04-12 18:03:26 -04:00
|
|
|
Id User Host db Command Time State Info
|
2010-11-15 16:17:38 +01:00
|
|
|
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST
|
2009-03-25 19:30:43 +01:00
|
|
|
SET SESSION transaction_prealloc_size=1024*1024*1024*5;
|
|
|
|
SHOW PROCESSLIST;
|
2007-04-12 18:03:26 -04:00
|
|
|
Id User Host db Command Time State Info
|
2010-11-15 16:17:38 +01:00
|
|
|
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST
|
2011-05-24 11:16:34 +02:00
|
|
|
SET @@session.transaction_prealloc_size= @def_var;
|