可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):

问题:

I'm trying to add a row to an InnoDB table with a simply query: INSERT INTO zip_codes(zip_code,city)VALUES('90210','Beverly Hills');

But when I attempt this query, I get the following: ERROR1114(HY000):Thetable`zip_codes`isfull

Doing a "SELECT COUNT(*) FROM zip_codes" gives me 188,959 rows, which doesn't seem like too many considering I have another table with 810,635 rows in that same database.

I am fairly inexperienced with the InnoDB engine and never experienced this issue with MyISAM. What are some of the potential problems here?

EDIT: This only occurs when adding a row to the zip_codes table.

回答1:

EDIT: First check, if you did not run out of disk-space, before resolving to the configuration-related resolution.

You seem to have a too low maximum size for your innodb_data_file_path in your my.cnf, In this example innodb_data_file_path=ibdata1:10M:autoextend:max:512M

you cannot host more than 512MB of data in all innodb tables combined.

Maybe you should switch to an innodb-per-table scheme using innodb_file_per_table.

回答2:

Another possible reason is the partition being full - this is just what happened to me now.

回答3:

You will also get the same error ERROR 1114 (HY000): The table '#sql-310a_8867d7f' is full

if you try to add an index to a table that is using the storage engine MEMORY.

回答4:

You need to modify the limit cap set in my.cnf for the INNO_DB tables. This memory limit is not set for individual tables, it is set for all the tables combined.

If you want the memory to autoextend to 512MB innodb_data_file_path=ibdata1:10M:autoextend:max:512M

If you don't know the limit or don't want to put a limit cap, you can modify it like this innodb_data_file_path=ibdata1:10M:autoextend

回答5:

This error also appears if the partition on which tmpdir resides fills up (due to an alter table or other

回答6:

In my case, this was because the partition hosting the ibdata1 file was full.

回答7:

You may be running out of space either in the partition where the mysql tables are stored (usually /var/lib/mysql) or in where the temporary tables are stored (usually /tmp).

You may want to: - monitor your free space during the index creation. - point the tmpdir MySQL variable to a different location. This requires a server restart.

回答8:

If you use NDBCLUSTER as storage engine, you should increase DataMemory and IndexMemory.

回答9:

I too faced this error while importing a 8GB sql database file. Checked my mysql installation drive. There was no space left in the drive. So got some space by removing unwanted items and re-ran my database import command. This time it was successful.

回答10:

Unless you enabled innodb_file_per_table option, InnoDB keeps all data in one file, usually called ibdata1.

Check the size of that file and check you have enough disk space in the drive it resides on.

回答11:

we had: SQLSTATE[HY000]: General error: 1114 The table 'catalog_product_index_price_bundle_sel_tmp' is full

solved by:

edit config of db:

nano /etc/my.cnf

tmp_table_size=256M max_heap_table_size=256M restart db

回答12:

To quote the MySQL Documents. The InnoDB storage engine maintains InnoDB tables within a tablespace that can be created from several files. This allows a table to exceed the maximum individual file size. The tablespace can include raw disk partitions, which allows extremely large tables. The maximum tablespace size is 64TB.

If you are using InnoDB tables and run out of room in the InnoDB tablespace. In this case, the solution is to extend the InnoDB tablespace. See Section 13.2.5, [“Adding, Removing, or Resizing InnoDB Data and Log Files”.]

回答13:

In my case the server memory was full so the DB could not write the temp data. To solve it you just have to make some place on your drive.

回答14:

I faced same problem because of low disk space. And partition which is hosting the ibdata1 file which is the system tablespace for the InnoDB infrastructure was full.

回答15:

I was experiencing this issue... in my case, I'd run out of storage on my dedicated server. Check that if everything else fails and consider increasing disk space or removing unwanted data or files.

回答16:

This could also be the InnoDB limit for the number of open transactions: at 1024 transactions, that have undo records (as in, edited any data), InnoDB will fail to work

回答17:

On CentOS 7 simply stopping and starting the MySQL service fixed this for me.

sudo service mysql stop

sudo service mysql start

mysql error 1114_ERROR 1114 (HY000): The table is full相关推荐

  1. mysql ERROR 1114 (HY000): The table ‘XXX‘ is full

    关注微信公共号:小程在线 关注CSDN博客:程志伟的博客 报错: mysql ERROR 1114 (HY000): The table 'XXX' is full 解决方法: 修改 my.cnf 配 ...

  2. mysql 1114 hy000_mysql 解决 ERROR 1114 (HY000): The table 'XXX' is full

    操作:执行 alter table aa_table drop column hehe; 删除 aa_table 表中 hehe 字段.导致 ERROR 1114 (HY000): The table ...

  3. mysql error 1201_ERROR 1201 (HY000): Could not initialize master info structure; .....

    配置mysql主从复制,start slave是报错:ERROR 1201 (HY000): Could not initialize master info structure; more erro ...

  4. mysql error :1114 - The table ‘XXX‘ is full

    背景 因为本地测试库的一张表数据不需要了,想要使用truncate进行删除.执行操作:TRUNCATE shop.user; 时提示:1114 - The table 'user' is full, ...

  5. mysql temporary_MYSQL中的CREATE TEMPORARY TABLE

    记录一下今天的一个BUG FIXING.早上收到一个BUG,说有一个到模块A的调用B,多执行几次以后就会出错.错误信息显示SQL ERROR.因为CDC SBE就我最近改过模块A的代码,就把BUG塞给 ...

  6. mysql error 1114,mysql error 1114 table is full 处理分享

    问题描述: 一.早上上班收到报警,用户中心某slave不同步. 二.查看情况,发现mysql error 1114,The table 'xxxx'  is full ..... 三.检查其他slav ...

  7. Linux MySQl 5.7.17 MySQL ERROR 1366(HY000):Incorrect string value 解决方法

    MySQL ERROR 1366(HY000):Incorrect string value,在往数据库中插入中文的时候会出现. 这也就是编码问题,网上大部分都是说设置下配置文件中的设置,而可悲的是在 ...

  8. linux mysql 1366_Linux MySQl 5.7.17 MySQL ERROR 1366(HY000):Incorrect string value 解决方法

    MySQL ERROR 1366(HY000):Incorrect string value,在往数据库中插入中文的时候会出现. 这也就是编码问题,网上大部分都是说设置下配置文件中的设置,而可悲的是在 ...

  9. 问题解答1:ERROR 1682 (HY000): Native table 'performance_schema'.'session_variables' has the wrong struct

    数据库MySQL在MySQL5.7.6版本之后,导入的文件只能在secure_file_priv 指定的文件夹下. 执行 mysql> show variables like '%secure% ...

  10. mysql error 1130 hy000:Host ‘localhost‘ is not allowed to connect to this mysql server 解决方案

    mysql error 1130 hy000:Host 'localhost' is not allowed to connect to this mysql server 解决方案 参考文章: (1 ...

最新文章

  1. 招聘 | 旷视研究院博士后招聘
  2. 精确人工智能——核物理与粒子物理领域的新生力量
  3. 想学python编程-【经验分享】新手如何快速学好Python?
  4. NVIDIA NeMo User Guide
  5. 你可能不知道的小知识-bug为什么叫bug
  6. ffmpeg加环境变量
  7. How to remove replication in SyteLine V2
  8. 面向对象思想精华总结
  9. 我们为什么活得这么累
  10. github pages帮助如何创建个人博客
  11. el-form 动态校验规则_动态多线程敏感信息泄露检测工具
  12. 判断二进制半整数_牛客网
  13. CVPR2020-深度图超分辨率DSR新方法| Channel Attention based Iterative Residual Learning for Depth Map SR
  14. 下载列表失败_Mac配置的Motrix,高速下载百度云
  15. CCNA考试题库中英文翻译版及答案2
  16. 史上最详细的MYSQL安装步骤
  17. 使用select2 实现拼音全拼和首字母 搜索
  18. Android 异常 “Binary XML file line # : Error inflating class”
  19. 操作系统面试基础知识点
  20. 失眠,开灯,看书,看数学书!

热门文章

  1. 十分钟快速入门 Pandas
  2. 网站漏洞修补之苹果cms建站系统
  3. Nature:我叫“P值” 这是我的故事
  4. 电磁波传播matlab程序,电磁波在不同介质中传播的 MATLAB 仿真教学实践论文
  5. 散布谣言也能实现一致性?来看看Gossip协议如何活用六度分隔理论
  6. matlab篮球队需要五名队员,球队战绩影响因素分析.doc
  7. #2766. 猜测(guess)
  8. go.php外链跳转模板,给WordPress博客添加外链go跳转效果
  9. freemarker导出excel单元格内换行
  10. C++ BMP转JPG方法三