alter database datafile UNDOTBS01.dbf resize
2020-05-08undo表空间UNDOTBS清理后,需要resize大小。
1、alter database datafile '/data1/oradata/undotbs01.dbf' resize 512M;
Database altered.
2、sysaux01文件也可以resize
alter database datafile '/data1/oradata/sysaux01.dbf' resize 512M;
新建undo表空间,switch到newTS,删除old UndoTBS
create tablespace new_name datafile 'new.dbf' size 2G;
alter system set undo_tablespace=new_name;
等旧事务全部结束:
alter database datfile 'old.dbf' offline;
alter database datfile 'old.dbf' offline drop;
3、system01文件
alter database datafile '/data1/oradata/system01.dbf' resize 512M;
4、temp文件
alter database tempfile '/data1/oradata/temp01.dbf' resize 200m;
分类:数据库 | 标签: |