ITPub博客

首页 > 数据库 > Oracle > Oracle12c ORA-65114:容器中的空间使用率太高

Oracle12c ORA-65114:容器中的空间使用率太高

原创 Oracle 作者:maxwellxu 时间:2016-11-19 12:31:26 0 删除 编辑
     今天工作中,发现Oracle12c数据库中有2个表空间使用率比较高,于是按照常规做法进行相关表空间的扩展:
     alter database datafile '/app/oradata/zsdb/zsdb/xxxx.dbf'  resize 20480m;
     执行后,报错ORA-65114:容器中的空间使用率太高。
     通过查看官方文档有如下描述:
     ora-65114: space usage in container is too high
       Cause: Space usage in the current container exceeded the value of MAX_PDB_STORAGE for the container.
       Action: Specify a higher value for MAX_PDB_STORAGE using the ALTER PLUGGABLE DATABASE statement.
     因为服务器资源宽裕,切换到这个pdb下面执行如下命令:
     alter session set container=zsdb;
     alter pluggable database storage unlimited;     执行完毕后,再扩展表空间,成功执行。
     也可以按照使用情况计算出合理的大小进行设置:
     alter pluggable database storage (maxsize 10g)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29535374/viewspace-2128735/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-03-12

  • 博文量
    9
  • 访问量
    19644