在一次rman异机恢复中,遇到了ora-1152的错误。
Error Text, Cause and Action from Message File/s for ORA-01152
Versions 9.2, 10.1, 10.2, 11.1, 11.2, 12.1 Error: ORA-01152 file %s was not restored from a sufficiently old backup --------------------------------------------------------------------------- Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the database consistent. This file is still in the future of the last log applied. The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery. Action: Either apply more logs until the database is consistent or restore the database file from an older backup and repeat recovery.
可能metalink上描述不够清晰,只是说明是日志问题,最后总结2种解决方案
1、根据scn进行恢复
查询scan