暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
Database Crashed With ORA-16038 ORA-00742 ORA-00312 and clear unarchived logfile fails with ORA-01624 while no datafile in fuzzy state (文档 ID 2896834.1).pdf
23
2页
1次
2024-12-23
25墨值下载
版权所有 (c) 2024Oracle。保留所有权利。Oracle 机密。
Database Crashed With ORA-16038 ORA-00742 ORA-00312 and clear unarchived logfile fails
with ORA-01624 while no datafile in fuzzy state (文档 ID 2896834.1)
In this Document
Symptoms
Changes
Cause
Solution
References
APPLIES TO:
Oracle Database - Enterprise Edition - Version 19.15.1.0.0 and later
Information in this document applies to any platform.
SYMPTOMS
Production DB crashed with ORA-00742: Log read detects lost write in thread n sequence xxxxxx block #
ORA-00312: online log <log#> thread <thread#>: '+<Diskgroup>/<DBName>/redologfile.log'.
Database has been recovered using all the archived and available online redo log files and made sure that no
datafile is in fuzzy state in v$datafile_header
Recover database is successful.
RMAN> recover database;
Starting recover at 2022-09-14 23:27:56
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=6 instance=<Instance> device type=DISK
starting media recovery
media recovery complete, elapsed time: 00:00:03
Finished recover at 2022-09-14 23:28:18
RMAN>
SQL> select * from v$recover_file;
no rows selected
文档显示 https://support.oracle.com/epmos/faces/SearchDocDisplay?_...
1 2 2024/12/20 12:57
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-00742: Log read detects lost write in thread <thread#> sequence <seq#> block <Block#>
ORA-00312: online log <log#> thread <thread#>: '+<Diskgroup>/<DBName>/redologfile.log'
While trying to perform clear unarchived logfile as mentioned in document
Doc ID 2064718.1, it fails with below error.
SQL> alter database clear unarchived logfile group <group#>;
alter database clear unarchived logfile group <group#>
*
ERROR at line 1:
ORA-01624: log <group#> needed for crash recovery of instance <Instance> (thread <thread#>)
ORA-00312: online log <log#> thread <thread#>: '+<Diskgroup>/<DBName>/redologfile.log'
CHANGES
CAUSE
lost write on online redo log file.
archive failed for online redo log file due to lost write on a block has been identified
SOLUTION
Recreate controlfile using trace output with noresetlogs option and then mount the database
Do a fake recovery using RMAN and then open database.
RMAN> recover database;
RMAN> alter database open;
Once the database is opened, clear the corrupted redo log file using the below statement
SQL> alter database clear unarchived logfile group <group#>;
Make sure the issue that caused the lost write is fixed and take a full backup of the database.
REFERENCES
NOTE:2064718.1
- Database Crashe with ORA-16038/ORA-742 Errors
NOTE:735106.1
- How to Recreate a Controlfile
未找到您要查找的产品?
文档显示 https://support.oracle.com/epmos/faces/SearchDocDisplay?_...
2 2 2024/12/20 12:57
of 2
25墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。