WEB开发网
开发学院数据库Oracle 实例讲解Oracle 9i数据坏块的处理 阅读

实例讲解Oracle 9i数据坏块的处理

 2009-03-18 13:10:40 来源:WEB开发网   
核心提示: 查找SCN 11856250905 以后的archivelog是否有备份RMAN>listbackupofarchivelogscnfrom11856250905ListofBackupSets===BSKeySizeDeviceTypeElapsedTimeCompletionTi

查找SCN 11856250905 以后的archivelog是否有备份

RMAN> list backup of archivelog scn from 11856250905
List of Backup Sets
===================
BS Key  Size       Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
680     265K       DISK        00:00:00     16-MAR-09      
BP Key: 681   Status: AVAILABLE   Tag: TAG20090316T154731
Piece Name: /d02/fullbackup/20090316_arch_28
List of Archived Logs in backup set 680
Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
---- ------- ---------- --------- ---------- ---------
1    109     11856250805 16-MAR-09 11856251483 16-MAR-09
1    110     11856251483 16-MAR-09 11856251487 16-MAR-09

查找sequence 110 以后的archivelog是否有备份

RMAN> list copy of archivelog from sequence 110;

List of Archived Log Copies
Key     Thrd Seq     S Low Time  Name
------- ---- ------- - --------- ----
694     1    111     A 16-MAR-09 /d02/arch/1_111.dbf
695     1    112     A 16-MAR-09 /d02/arch/1_112.dbf

查询online archive log

SQL> select sequence#,members,archived,status from v$log;

SEQUENCE#    MEMBERS ARC STATUS
---------- ---------- --- ----------------
113          1 NO  CURRENT
111          1 YES INACTIVE
112          1 YES INACTIVE

Tags:实例 讲解 Oracle

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接