我已经将max_heap_table_size设置为5G (5368709120),但是我的内存表的大小不能超过2G。Mysql进程是64位,所以它有足够的内存,也有物理内存可用。但尽管如此,我还是得到了一个错误ERROR 1114 (HY000) at line 1: The table 'my_cache' is full
随着时间的推移,规模在增长:
data_mb index_mb total
2048.00 1178.28 3226.28
2048.00 984.57 3032.57
2048.00 792.84 2840.84
1795.40 599.13 2394.53
1218.23 407.41 1625.64
665.04 221.68 886.71怎么啦?
UPD i将max_heap_table_size增加到10G,并且工作正常,没有错误!
增长统计数据:
2048.00 1563.72 3611.72
2048.00 1370.00 3418.00
2048.00 1178.28 3226.28
2048.00 984.57 3032.57
2048.00 792.84 2840.84
1795.40 599.13 2394.53发生了什么?
发布于 2016-12-27 09:35:40
show variables like 'max_heap_table_size'检查大小限制。set max_heap_table_size=xxxxxxx;truncate table table_name;,alter table table_name ENGINE=MEMORY;https://stackoverflow.com/questions/30583341
复制相似问题