MySQL "Table full" error occurred while recovering data

Source: Internet
Author: User

[ERROR]/usr/sbin/mysqld:the table ' cps_effect_confirm_log_1301 ' is

Today to a database recovery data, is a 25G library, in the execution of half is, the occurrence of such an error

One, view the disk space '

DF-DH see that the MySQL directory (not the installation directory) is not a problem.

Second, open the MySQL configuration file my.cnf Modify the size of the two parameters (default is 16)

tmp_table_size=256m

Max_heap_table_size = 256M

Restart MySQL after modification

Check if you have changed in MySQL after reboot

Mysql> show global variables like ' tmp_%_size ';

+----------------+-----------+

| variable_name | Value |

+----------------+-----------+

| Tmp_table_size | 268435456 |

+----------------+-----------+

Mysql> show global variables like '%data_%_path% ';

+-----------------------+-----------------------+

| variable_name | Value |

+-----------------------+-----------------------+

| Innodb_data_file_path | Ibdata1:1g:autoextend |

+-----------------------+-----------------------+

1 row in Set (0.00 sec)


Three, view in MY.CNF

Innodb_data_file_path = ibdata1:1g:autoextend:max:128m

See the size of ibdata1 is already 128M

128M/data/mysql3307/ibdata1


Change the above parameters to

Innodb_data_file_path = Ibdata1:1g:autoextend

To restart MySQL after modification


MySQL "table full" error occurred while recovering data

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.