MySQL Database error log appears "the Table xxx is full", the first reaction is the hard disk space, check that the hard disk has a lot of space
The table ' xxx ' is full
Look at the ' xxx ' table, found that the table is a memory table, and the size of the table to 2 multi-g, I set the 2G, can be
Mysql> Show variables like '%max_heap% ';
+---------------------+------------+
| variable_name | Value |
+---------------------+------------+
| Max_heap_table_size | 2097152000 |
+---------------------+------------+
1 row in Set (0.00 sec)
The solution is to delete the data or modify this parameter to see the actual application situation. However, a memory table can be more than 2G is not very good, memory is limited after all. 、
There is another reason for this error, that is, the actual operation, the resulting temporary table is too large, the size of the temporary table is determined by the parameter tmp_table_size, the default is 16M
can refer to http://blog.chinaunix.net/uid-16844903-id-3026988.html
MySQL appears "the Table xxx is full" problem