MySQL appears "the Table xxx is full" problem

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.