ORA-01567: dropping log string would leave less than 2 log files for instance string (thread string) ORACLE 报错 故障修复 远程处理

文档解释

ORA-01567: dropping log string would leave less than 2 log files for instance string (thread string)

Cause: Dropping all the logs specified would leave fewer than the required two log files per enabled thread.

Action: Either drop fewer logs or disable the thread before deleting the logs. It may be possible to clear the log rather than drop it.

ORA-01567:删除日志字符串将会使实例字符串(线程字符串)少于2个日志文件

官方解释

ORA-01567 发生时指明关系数据库实例线程(thread)已接受过一个 DROP LOGFILE 操作,结果产生了实例线程当前有效的日志文件数量少于2个。

常见案例

如果一个 REDO LOGFILE 损坏或者过期,如果要删除该组的一个 REDO LOGFILE 的时候,并且当前可用的 REDO LOGFILE 无法满足最低的两个 REDO LOGFILE 要求,就可能出现 ORA-01567 。

正常处理方法及步骤

1. 预检查 REDO LOGFILE 的当前状态

2. 重建 REDO LOGFILE 文件,增加 REDO LOGFILE 或者使用 ALTER DATABASE ADD LOGFILE MEMBER 语法重建 REDO LOGFILE

3. DROP REDO LOGFILE 重启实例

4. 根据系统版本来选择最佳的迁移工具,用该工具重建 REDO LOGFILE 和日志组


数据运维技术 » ORA-01567: dropping log string would leave less than 2 log files for instance string (thread string) ORACLE 报错 故障修复 远程处理