java.sql.BatchUpdateException: internal error
2018-09-19 12:20
246 查看
使用ojdbc入库的时候,报出了如下错误:
java.sql.BatchUpdateException: internal error
检查sql语句和数据库、网络等都没有问题
和同事简单沟通,最后原来是表空间不够了
附一个查看表空间相关信息的语句:
语句转自:https://www.cnblogs.com/lipera/p/6201434.html
SELECT a.tablespace_name "表空间名",
total "表空间大小",
free "表空间剩余大小",
(total - free) "表空间使用大小",
total / (1024 * 1024 * 1024) "表空间大小(G)",
free / (1024 * 1024 * 1024) "表空间剩余大小(G)",
(total - free) / (1024 * 1024 * 1024) "表空间使用大小(G)",
round((total - free) / total, 4) * 100 "使用率 %"
FROM (SELECT tablespace_name, SUM(bytes) free
FROM dba_free_space
GROUP BY tablespace_name) a,
(SELECT tablespace_name, SUM(bytes) total
FROM dba_data_files
GROUP BY tablespace_name) b
WHERE a.tablespace_name = b.tablespace_name;
阅读更多
相关文章推荐
- Caused by: java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual tha
- Error updating database. Cause: java.sql.BatchUpdateException: Field 'id' doesn't have a default value
- java.sql.SQLException: Query returned non-zero code: 12, cause: FAILED: Hive Internal Error: java.la
- [SSH] java.sql.BatchUpdateException: Cannot delete or update a parent row:
- Caused by:java.sql.BatchUpdateException:ORA-02291
- Caused by: java.sql.BatchUpdateException: ORA-01461: can bind a LONG value only for insert into a LO
- Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'cont' at row 1
- java.sql.BatchUpdateException
- java.sql.BatchUpdateException: Incorrect string value: '\xF0\x9D\x94\xB9+)...' for column 'title' at
- Could not execute JDBC batch update : java.sql.BatchUpdateException: ORA-00926: 缺失 VALUES 关键字
- java.sql.BatchUpdateException: Data truncation: Data too long for column 'site_name' at row 1
- oracle Caused by: java.sql.BatchUpdateException: ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值
- Nutch2.2.1抓取错误——java.sql.BatchUpdateException: Incorrect string value: '\xF2\xA3\xAC\xB7\xEF\xBF.
- java.sql.BatchUpdateException: Field 'id' doesn't have a default value
- java.sql.BatchUpdateException: ORA-02291: integrity constraint
- java.sql.BatchUpdateException(转载)
- java.sql.BatchUpdateException: ORA-01031: 权限不足
- Caused by: java.sql.BatchUpdateException: ORA-00001: 违反唯一约束条件
- java.sql.BatchUpdateException: ORA-02290: check...
- java.sql.BatchUpdateException: ORA-00001: unique constraint (IEVSP.PK_C_CSERVICES) violated