ORA-00273: media recovery of direct load data that was not logged ORACLE 报错 故障修复 远程处理

文档解释

ORA-00273: media recovery of direct load data that was not logged

Cause: A media recovery session encountered a table that was loaded by the direct loader without logging any redo information. Some or all of the blocks in this table are now marked as corrupt.

Action: The table must be dropped or truncated so that the corrupted blocks can be reused. If a more recent backup of the file is available, try to recover this file to eliminate this error.

这个错误表明在做SQL*LOADER的快速加载数据时出现错误,由于快速加载不需要重做日志,因此无法恢复该数据文件,及日志文件记录无法找到,因此无法恢复。

ORA-00273: “media recovery of direct load data that was not logged”

官方解释

ORA-00273 由于恢复完成需要载入未记录的数据,但当前不支持媒体恢复,抛出该错误。

常见案例

该错误发生在使用SQL*LOADER时,由于未启用记录特性,当留有 REDO LOG 文件时出现该错误。

正常处理方法及步骤

1)重新生成数据库控制文件。

使用以下命令:created controlfile reuse database…

2)恢复数据库

使用以下命令:recover database

3)重新尝试使用SQL*LOADER快速加载数据以及重做日志4)确保日志信息被正确记录,可以在日志文件中查找是否记录成功。


数据运维技术 » ORA-00273: media recovery of direct load data that was not logged ORACLE 报错 故障修复 远程处理