java.sql.SQLException: The table 'label_result' is full
来源:互联网 发布:上海游奇网络老板是谁 编辑:程序博客网 时间:2024/06/05 18:50
昨天系统插入一条数据,突然不能使用. 于是看日志反馈.
内存表的大小超过了规定的范围 : 使用的数据库是mysql.
于是进行如下解决:
1. 找到对应数据库: 测试sql语句直接插入,修改 也报错. 确实这是数据库原因
2. 找到linux 服务器. 输入 df -h 查看服务器磁盘空间. 发现used 为 100%. 删除部分数据后, 系统可正常使用
后来找了其他一些解决方式:
1.扩展数据库表的大小:
tmp_table_size = 256M
max_heap_table_size = 256M
windows: mysql 找到my.ini 下[mysqld] 添加如上代码
linux: vim /etc/my.cnf 下[mysqld] 添加如上代码
或者: 进入到myslq 中,执行命令
[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
2.查看在配置文件中,查看保存数据的位置: datadir 所在磁盘是否满了.
- java.sql.SQLException: The table 'label_result' is full
- The table is full
- java.sql.SQLException: nontx connection pool is full?
- The table '#sql-fb5_190a57' is full Operation failed
- The table is full mysql
- mysql the table is full
- MYSQL数据库The table is full错误
- The table xxxx is full处理
- java.sql.SQLException: ORA-28000: the account is locked
- java.sql.SQLException: ORA-28000: the account is locked?
- java.sql.SQLException: ORA-28000: the account is locked
- nc开发:java.sql.SQLException: xa(bmt) connection pool is full? max=3,init=1,now=4、
- 异常:java.sql.SQLException: The total number of locks exceeds the lock table size
- java.sql.SQLException: Table 'XXX' is marked as crashed and should be repaired异常修复
- 解决mysql出现"the table is full"的问题
- mysql出现"the table is full"的问题
- The table‘xxxx’is full 设置临时表大小
- The table 'pre_common_session' is full, Error_code: 1114解决办法
- (windows)python安装opencv
- 随笔——新思路
- FPGA作为从机与STM32进行SPI协议通信---Verilog实现 [转]
- 快速下载vs2013等开发工具--资源查找
- 内连接、左外连接、右外连接、交叉连接区别
- java.sql.SQLException: The table 'label_result' is full
- 【我的Java笔记】Collection集合的概述 & List
- 进制转换和栈
- poj 3461 Oulipo
- 求 用 C# 开发文件夹在 utf-8 无BOM 格式转与utf-8带BOM 格式相互转换
- .创建一个Rectangle类,计算矩形的周长和面积,编程利用Rectangle输出一个矩形的周
- spark连接es的问题java.lang.ClassNotFoundException:org.elasticsearch.client.transport.NoNodeAvailableExcep
- 对过长的字符串,导致页面样式乱了的处理
- java高并发-线程的基本使用