Wishlist 0 ¥0.00

MySQL 出现 The table is full 的解决方法

 

MySQL 出现 The table is full 只有一个原因,对应的表数据容量达到系统上限。具体限制请查看官方手册:http://dev.mysql.com/doc/refman/5.1/zh/introduction.html#table-size。你可以使用SHOW TABLE STATUS语句查看该表的相关信息。 

解决方法1: 
执行ALTER TABLE tbl_name MAX_ROWS=1000000000; 

解决方法2: (表类型设置为 memory时需要设置)
修改Mysql的配置文件/etc/my.cnf,在[mysqld]下添加/修改两行(下面的值仅供参考,请根据实际情况酌情处理): 
tmp_table_size = 256M // 临时表大小 
max_heap_table_size = 256M // 内存表大小 
系统默认是16M,别忘记重新启动mysql。

解决方法3: 修改表类型为  MyISAM。

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.