1)建立临时UNDO表空间
CREATE UNDO TABLESPACE undotbs001 DATAFILE
'/home/oracle/oradata/jw/undo001.dbf' SIZE 500M ;
2)将系统UNDO表空间修改为前面新建的临时UNDO表空间
alter system set undo_tablespace=undotbs001 scope=both;
3)删除undo表空间及其数据文件
drop tablespace undotbs including contents and datafiles;
4)重建临时表空间
CREATE UNDO TABLESPACE undotbs DATAFILE
'/home/oracle/oradata/jw/undo02.dbf' SIZE 300M ;
5)重新将系统UNDO表空间修改为undotbs
alter system set undo_tablespace=undotbs scope=both;
6)重启数据库
reboot database[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/570433/viewspace-1038068/
,如需转载,请注明出处,否则将追究法律责任。