Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

19

积分

0

好友

1

主题
1#
发表于 2012-3-6 17:04:24 | 查看: 5245| 回复: 1
什么情况下,oracle rac会发生交叉归档,交叉归档示例如下?
SQL> select name,THREAD#,ARCHIVAL_THREAD# from v$archived_log a where a.THREAD#!=a.ARCHIVAL_THREAD# and rownum<=5;
NAME                                                            THREAD# ARCHIVAL_THREAD#
------------------------------------------------------------ ---------- ----------------
/home/oracle/archvelog/raw10g/2_1382_751300003.dbf                    2                1
/home/oracle/archvelog/raw10g/2_1383_751300003.dbf                    2                1
/home/oracle/archvelog/raw10g/1_1483_751300003.dbf                    1                2
/home/oracle/archvelog/raw10g/1_1484_751300003.dbf                    1                2
/home/oracle/archvelog/raw10g/2_1384_751300003.dbf                    2                1
2#
发表于 2012-3-6 18:06:45
ARCHIVAL_THREAD#     NUMBER     Redo thread number of the instance that performed the archival operation. This column differs from the THREAD# column only when a closed thread is archived by another instance.

http://docs.oracle.com/cd/E18283_01/server.112/e17110/dynviews_1016.htm

仅当 redo 相关的thread close时 其他实例会帮助归档 该thread上的 在线日志 online redo logfile  "交叉归档"

造成thread close的 可能性很多 ,例如实例正常关闭 或者abort

Shutting down archive processes
Archiving is disabled
Wed Jan 18 23:31:27 2012
ARCH shutting down
ARC0: Archival stopped
Wed Jan 18 23:31:27 2012
ARCH shutting down
ARC1: Archival stopped
Wed Jan 18 23:31:27 2012
ARCH shutting down
ARC3: Archival stopped
Wed Jan 18 23:31:27 2012
ARCH shutting down
ARC2: Archival stopped

Thread 2 closed at log sequence 146

Successful close of redo thread 2
Wed Jan 18 23:31:28 2012
NOTE: Deferred communication with ASM instance
NOTE: deferred map free for map id 13
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Shutting down archive processes
Archiving is disabled
Wed Jan 18 23:31:32 2012
NOTE: Deferred communication with ASM instance
NOTE: deferred map free for map id 2
Completed: ALTER DATABASE DISMOUNT
Wed Jan 18 23:31:38 2012
SUCCESS: diskgroup DATA was dismounted
NOTE: Database dismounted; ASMB process exiting
Stopping background process RBAL
Stopping background process MARK

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-24 00:24 , Processed in 0.045435 second(s), 22 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569