1. 首页 > ITPUX技术网 > 正文

undo表空间占用数据文件太大,重建undo

create undo tablespace undotbs2 datafile ‘/u02/oradata/orcl/undotbs2.dbf’ size 1000m autoextend on maxsize 1000M;

alter system set undo_tablespace=undotbs2 scope=both;

create pfile=’/home/oracle/p.undo.ora’ from spfile;

drop tablespace undotbs1 including contents and datafiles;

create undo tablespace undotbs1 datafile ‘/u02/oradata/orcl/undotbs1.dbf’ size 1000m autoextend on maxsize 1000M;

alter system set undo_tablespace=undotbs1 scope=both;

create pfile=’/home/oracle/p.undo1.ora’ from spfile;

drop tablespace undotbs2 including contents and datafiles;

本文由风哥教程整理发布,仅用于学习测试使用,转载注明出处:http://www.fgedu.net.cn/10327.html

联系我们

在线咨询:点击这里给我发消息

微信号:itpux-com

工作日:9:30-18:30,节假日休息