暂无图片
返回数说广场
nirvana
2024-03-15 敬十八罗汉之六过江罗汉跋陀罗尊者
重建undo表空间的操作步骤。 --创建新的undo表空间 SQL> create undo tablespace datafile size ; --设置当前的默认表空间为新undo表空间 SQL> alter system set undo_tablespace=; --查看旧undo表空间是否存在online的回滚段,即使切换了默认的undo表空间,已经被事务分配使用的旧undo回滚段依然在使用,直到事务提交之后才释放 SQL> select status,segment_name from dba_rollback_segs where status not in ('OFFLINE') and tablespace_name=; --需要等待旧undo表空间没有online的回滚段才能drop 旧的undo表空间 SQL>Drop tablespace including contents and datafiles;
0
暂无图片 0
175
分享

评论

热门数说