ORA-01688:生产环境表空间不足导致数据库jdbc连接失败

ORA-01688: unable to extend table ,这个错误表明表空间使用率满,查看提示的表对应利用率;设置自动扩展或者增大容量。

(1)查看日志提示的表名

select tablespace_name, file_id, file_name,

round(bytes/(1024*1024),0) total_space
from dba_data_files
order by tablespace_name

(2) 解决的三种方式

增大文件表空间

alter database datafile 'xx.dbf'  resize 100m

 

增加文件个数

alter tablespace 表名 add datafile 'xx.dbf' size 100m

 

设置自动扩展表满

alter database datafile 'xx.dbf' autoextend on next 100m maxsize 1000m

 

本文作者:chillymint

本文链接:https://www.cnblogs.com/chillymint/p/16890343.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   chillymint  阅读(699)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
💬
评论
📌
收藏
💗
关注
👍
推荐
🚀
回顶
收起
🔑