>  기사  >  데이터 베이스  >  undo_management设置与隐含参数*._offline_rollback_segments和*._corru

undo_management设置与隐含参数*._offline_rollback_segments和*._corru

WBOY
WBOY원래의
2016-06-07 17:41:00956검색

一环境:oracle版本:10.2.0.1.0当前undo表空间:SQLshowparameterundo;NAME&n..

一 环境:
oracle版本:10.2.0.1.0
当前undo表空间:
SQL> show parameter undo;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
undo_management                      string      AUTO
undo_retention                       integer     900
undo_tablespace                      string      UNDOTBS4
当前系统内的还原表空间:
SQL> select tablespace_name,status from dba_tablespaces where tablespace_name like '%UNDO%';

TABLESPACE_NAME                STATUS
------------------------------ ---------
UNDOTBS4                       ONLINE
当前undo表空间undotbs4的所有回滚段状况如下:
SQL> select * from v$rollname; (查询当前系统活动回滚段)

       USN NAME
---------- ----------------------------------------
         0 SYSTEM
         1 _SYSSMU1$
         2 _SYSSMU2$
         3 _SYSSMU3$
         4 _SYSSMU4$
         5 _SYSSMU5$
         6 _SYSSMU6$
         7 _SYSSMU7$
         8 _SYSSMU8$
         9 _SYSSMU9$
        11 _SYSSMU11$

11 rows selected.

SQL> select segment_id,segment_name,tablespace_name,status from dba_rollback_segs;(查询系统内所有回滚段信息)

SEGMENT_ID SEGMENT_NAME                   TABLESPACE_NAME                STATUS
---------- ------------------------------ ------------------------------ ----------------
         0 SYSTEM                         SYSTEM                         ONLINE
         1 _SYSSMU1$                      UNDOTBS4                       ONLINE
         2 _SYSSMU2$                      UNDOTBS4                       ONLINE
         3 _SYSSMU3$                      UNDOTBS4                       ONLINE
         4 _SYSSMU4$                      UNDOTBS4                       ONLINE
         5 _SYSSMU5$                      UNDOTBS4                       ONLINE
         6 _SYSSMU6$                      UNDOTBS4                       ONLINE
         7 _SYSSMU7$                      UNDOTBS4                       ONLINE
         8 _SYSSMU8$                      UNDOTBS4                       ONLINE
         9 _SYSSMU9$                      UNDOTBS4                       ONLINE
        11 _SYSSMU11$                     UNDOTBS4                       ONLINE

11 rows selected.

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.