日期:2014-05-16  浏览次数:20543 次

运行时参数tmp_table_size和max_heap_table_size

?

可用到的语句:

SET GLOBAL max_heap_table_size=522715200;512M

SHOW status like 'created%';

SHOW variables LIKE '%table_size';

?

以下内容整理自mysql手册(tmp_table_size/max_heap_table_size):?

tmp_table_size

Command-Line Format --tmp_table_size=#