UNDO表領域が大きくなってにっちもさっちもいかなくなったので実施
ファイルパスは適宜読み替えてください
- 一時的にUNDO表領域を作成
- UNDO表領域の切り替え(UNDOTBS1からUNDOTBS2へ)
- 大きくなった表領域の削除
- UNDO表領域の再作成(元のファイルは削除しなくてもよい)
- UNDO表領域の切り替え(UNDOTBS2からUNDOTBS1へ)
- 一時的に作成したUNDO表領域を削除
- 上記完了後 /path/to/undotbs02.dbf を物理削除
create undo tablespace UNDOTBS2 datafile '/path/to/undotbs02.dbf' size 10m autoextend on;
alter system set undo_tablespace = 'UNDOTBS2';
drop tablespace UNDOTBS1;
create undo tablespace UNDOTBS1 datafile '/path/to/undotbs01.dbf' size 50m reuse autoextend on;
alter system set undo_tablespace = 'UNDOTBS1';
drop tablespace UNDOTBS2 including contents cascade constraints;
コメントする