日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ORA-00313 ORA-00312 ORA-27037

發布時間:2024/1/18 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ORA-00313 ORA-00312 ORA-27037 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

原因:因為在進行restore database的時候沒有設置好log_file_name_convert,導致redolog沒有恢復到指定地點,導致在打開日志應用的時候出現了改問題




ORA-00313, ORA-00312, ORA-27037 in Standby Database [ID 601835.1]


?

Modified 20-APR-2009?????Type PROBLEM?????Status MODERATED

?

In this Document
??Symptoms
??Cause
??Solution
??References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.4
This problem can occur on any platform.

Symptoms

Following errors in?alert.log of standby database?during startup of the standby database:

ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: '/u03/oradata/prod/redo01b.log'
ORA-27037: unable to obtain file status

Cause

Online Redo logs missing on standby database.

Solution

You can safely ignore these messages. Online?redo logs will be created automatically when you activate the standby after switchover or failover.

If you want to?fix these messages then please use following steps:?

1.??Check and set "log_file_name_convert" parameter if the location of log files are different on primary and standby.

SQL> alter system set log_file_name_convert = "'<location on primary>','<location on standby>'" scope=spfile;

If you are using pfile then set the parameter in init file after shutting down the database:

*.log_file_name_convert = '<location on primary>','<location on standby>'

For 10gR2 only : Set this parameter even if the location of the redo logs are same on both primary and standby otherwise you may get ORA-19527 and ORA-312 while or after implementing the below steps.
This is due to?internal bug in 10.2.

2.??Cancel Managed Recovery process on the standby:

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;?

3.? Execute the command to clear all log groups on standby for each log group (for each log group):

SQL>alter database clear logfile group 1;

4.? Check the v$log view to confirm the size and status.

5.??Recreate standby redo logs on standby (only if standby Redo logs are also missing) using:

(a) Drop the standby redo logfile group(s) (check v$standby_log)

SQL> alter database drop standby logfile group 4;

?(b) Recreate the standby logfile group(s)

SQL> alter database add standby logfile group 4 ('/u03/redo/stby01.log') size 50m;

?

References

BUG:4724888 - DATAGUARD ERROR IN 10.2
NOTE:185076.1 - Standby Redo Logs are not Created when Creating a 9i Data Guard DB with RMAN
NOTE:352879.1 - ORA-19527 reported in 10gR2 Standy database


?

總結

以上是生活随笔為你收集整理的ORA-00313 ORA-00312 ORA-27037的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。