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

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

36

积分

0

好友

14

主题
1#
发表于 2012-5-22 11:36:06 | 查看: 6957| 回复: 3
数据库version 11.2.0.2 asm
Errors in file /oracle/app/oracle/diag/rdbms/pcxdb/pcxdb1/trace/pcxdb1_ora_5505100.trc:
ORA-00308: 无法打开归档日志 '/archlog2/pcxdb2_152645_756384558.arc'
ORA-27037: 无法获得文件状态
然后是diag 进程做dump:
请帮我分析下原因,谢谢
'/archlog2是2号节点的归档目录。

pcxdb1_ora_5505100.txt

5.36 MB, 下载次数: 867

2#
发表于 2012-5-22 23:13:55
ODM DATA:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
System name:        AIX
Redo thread mounted by this instance: 1


*** 2012-05-22 10:29:36.752
*Error 308 when opening Archive Log -
/archlog2/pcxdb2_152638_756384558.arc at SCN: scn: 0x0b90.f071deb7 (12717137190583)
*Error is non fatal for dump - Dump will continue
*Error - Unable to open log for Thread 2 at SCN: scn: 0x0000.00000000
non fatal error occurred while scanning redo
ORA-00308: 无法打开归档日志 '/archlog2/pcxdb2_152638_756384558.arc'
ORA-27037: 无法获得文件状态
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
END OF DUMP REDO
Dumping current redo log in thread 1
Initial buffer sizes: read 1024K, overflow 832K, change 805K

Logfile reuse: expected 152638 found 152642
Logfile reuse: expected 152638 found 152642
Reuse of Online Log [Thr=2,Seq=152638] detected!
Log Being Resused for Thread 2


是否确认 '/archlog2/ 在2个节点上都是共享可用的,否则inst1  试图归档thread 2 的日志是 报错是很正常的。

回复 只看该作者 道具 举报

3#
发表于 2012-5-23 08:59:52
为什么需要归档到2节点的目录

回复 只看该作者 道具 举报

4#
发表于 2012-5-23 21:01:30
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 ... 0/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


参考 什么情况下,oracle rac会发生交叉归档 http://t.askmaclean.com/thread-476-1-2.html

回复 只看该作者 道具 举报

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

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

GMT+8, 2024-11-15 17:40 , Processed in 0.058858 second(s), 24 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

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