日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

mysql返回#1114 – The table ‘xxxx’is full解决方法

發布時間:2024/9/20 数据库 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql返回#1114 – The table ‘xxxx’is full解决方法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

發現執行mysql的 REPLACE INTO 的時候mysql返回 #1114 – The table ‘xxxx’ is full
這個錯誤。

以前沒有遇到過,于是查找資料解決這個問題。得知是由于內存表的大小超過了規定的范圍,于是搜索解決方法,網上提到的有兩種解決方法,

一種是修改 my-innodb-heavy-4G.ini文件里的tmp_table_size參數,然后重啟mysql服務。

另外一種是修改max_heap_table_size參數。

[root@localhost etc]# vi /etc/rc.d/init.d/mysql
找到
$bindir/mysqld_safe –datadir=$datadir –pid-file=$pid_file >/dev/null 2>&1 &
修改為
$bindir/mysqld_safe –datadir=$datadir –pid-file=$pid_file -O tmp_table_size=64M -O max_heap_table_size=32M >/dev/null 2>&1 &

重啟mysql
[root@localhost etc]# /usr/bin/mysqladmin -u root -p shutdown
Enter password:
[root@localhost etc]# /etc/init.d/mysql start
[root@localhost etc]# mysql

查看是否己修改
mysql> show variables like ‘%max_heap_table_size%';
+———————+———-+
| Variable_name | Value |
+———————+———-+
| max_heap_table_size | 33553408 |
+———————+———-+
1 row in set (0.00 sec)
mysql> show variables like ‘%tmp_table_size%';
+—————-+———-+
| Variable_name | Value |
+—————-+———-+
| tmp_table_size | 67108864 |
+—————-+———-+
1 row in set (0.00 sec)
己經修改成功!

http://blog.sina.com.cn/s/blog_8e743a770101iwzt.html


來源:http://zhoumo123.cn/mysql/3423.html

總結

以上是生活随笔為你收集整理的mysql返回#1114 – The table ‘xxxx’is full解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。