restore database 与recover database 区别

restore 只是用备份来还原,recover是用archivelog或者online log

举例说明:

假设我时间点A,做了个备份,时间点B数据库挂了
* restore database ;// 这个操作利用时间点A做的备份来还原,返回到时间点A
* recover database ;//这个操作利用archivelog and online log做recover,从时间点A,推进到时间点B


  • restore 是转储 也是還原被损坏文件(RMAN经常用)
  • recover 是恢复 通过redo log & archive log恢复

来源: http://blog.sina.com.cn/s/blog_95b5eb8c01018yyl.html

posted @ 2018-01-01 15:15  岳麓丹枫  阅读(188)  评论(0编辑  收藏  举报