Oracle recover database 不同子句区别

recover database

不缺失controlfile和redo,以及归档的情况下使用,可以追到最新的scn

recover database using backup controlfile

丢失controlfile,而redo及归档未丢失,不以controlfile的scn为终点

recover database until cancel

current/active redo丢失,或归档丢失,只能实现最大可能恢复(备份的数据文件scn比归档的小则恢复到归档中的最大scn)

recover database using backup controlfile until cancel

controlfile和current/active redo或归档都有丢失,则可恢复到最新的归档日志

猜你喜欢

转载自www.cnblogs.com/ls11736/p/11428605.html