ORA-01624: log 1 needed for crash recovery of thread&nbs
(2014-08-15 20:59:28)
标签:
itoracle杭州美创科技有限公司 |
分类: oracle数据库报错 |
|
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 Database - Enterprise Edition - Version 9.2.0.7 to 11.2.0.2 [Release 9.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 25-JUN-2013***
Symptoms
SQL> alter database drop standby logfile group 1;
alter database drop standby logfile group 1
*
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: '/oradata/fs32/redo0101'
ORA-00312: online log 1 thread 1: '/oradata/fs37/redo0102'
Changes
Cause
1. Standby_file_management does not affect Online RedoLogs.
2.
See Oracle Data Guard, Concepts and Administration, Release 2 (9.2), Part No. A96653-02,
Chapter 11: Initialization Parameters
You can verify this if you have a look at V$LOG
-> The Status should be 'INACTIVE' for the RedoLog to be dropped.
Solution
To implement the solution, please execute the following steps:
1) Switch the logfile on primary so that group can become non-current.
connect / as sysdba
alter system switch logfile;
2) Copy from primary to standby.
If you are
3) Move current group one files on the standby to a different location
4) Rename the logfile- Move the copied
ALTER DATABASE RENAME FILE
'/FULL_PATH_OF_OLD_LOCATION/AND_REDO_LOG_NAME.LOG'
TO
'/FULL_PATH_OF_NEW_LOCATION/AND_REDO_LOG_NAME.LOG';
5) Clear the logfile :
alter database clear logfile group;
6)
alter database drop standby logfile group1 .
来自 <</SPAN>https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=wdfdzbjbg_9&_afrLoop=524408118798869>

加载中…