当一个表空间处于offline状态时,dba_extents视图中将不再包含该表空间的extent:
SQL> select count(*) from dba_extents where tablespace_name='USER_TBS';
COUNT(*)
----------
243
SQL> alter tablespace user_tbs offline;
Tablespace altered.
SQL> select count(*) from dba_extents where tablespace_name='USER_TBS';
COUNT(*)
----------
0
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10972173/viewspace-589052/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10972173/viewspace-589052/
本文通过实验展示了一个表空间在被设置为离线状态时,该表空间的extent将不会出现在dba_extents视图中。实验首先查询了USER_TBS表空间的extent数量,在表空间变为离线状态后,相同的查询返回了0条记录,证实了extent信息的隐藏。
327

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



