1、新建立UNDOTBS1表空间
create undo tablespace orcl_undo
datafile 'C:\DATABASE\disk3\orcl\dog_undo.dbf'
size 50m
extent management local
autoextend on maxsize 12G;
2、切换回orcl_undo
alter system set undo_tablespace=orcl_undo scope=both;
3、等待UNDO表空间dog_undo is OFFLINE;
alter tablespace dog_undo offline;
4、删除dog_undo表空间
drop tablespace dog_undo including contents and datafiles;
到此完毕!
create undo tablespace orcl_undo
datafile 'C:\DATABASE\disk3\orcl\dog_undo.dbf'
size 50m
extent management local
autoextend on maxsize 12G;
2、切换回orcl_undo
alter system set undo_tablespace=orcl_undo scope=both;
3、等待UNDO表空间dog_undo is OFFLINE;
alter tablespace dog_undo offline;
4、删除dog_undo表空间
drop tablespace dog_undo including contents and datafiles;
到此完毕!
本文详细介绍了在Oracle数据库中进行UNDOTBS1表空间创建、切换、离线及删除的具体步骤。通过一系列SQL命令实现对UNDO表空间的有效管理。
2528

被折叠的 条评论
为什么被折叠?



