mysql数据库表的单表容量是有限的。所做的应用,因为数据日积月累,越来越多,终于有一天查看到异常日志,提示表已满:
- Cause By:
- java.sql.SQLException: The table ‘tcc_package_coverage’ is full
- com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
- com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
- com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
- com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
- com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
- com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
- com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
- com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
- com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
- com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
- com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
- sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source)
- sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- java.lang.reflect.Method.invoke(Method.java:597)
- org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
- org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
- com.mysql.jdbc.Statement$$EnhancerByProxool$$e90a6080.executeUpdate(<generated>)
- org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:73)
- org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)
- org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
- org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
- org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
- org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
- org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
- org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
- org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
- org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
转载于:https://blog.51cto.com/memory/1035125
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/110299.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...