ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle中restore和recover的区别

Oracle中restore和recover的区别

原创 Linux操作系统 作者:Marschen2046 时间:2013-04-19 22:46:56 0 删除 编辑
restore just copy the backup files to the location of the datafile
recover use the redo and undo and arc log to make the db to the point of failure
or a point before failure.

1、restore 命令:用于还原已经备份的数据文件。
  (1)、restore database 还原所有的数据文件。
  (2)、restore tablespace 还原特定表空间的数据文件。
  (3)、restore datafile 还原特定的数据文件。
  (4)、restore controlfile  还原控制文件。
  (5)、restore archivelog  还原归档日志文件。

2、recover 命令:当数据库需要应用归档日志文件恢复数据文件时,使用recover命令。使用该命令数据库系统会自动应用归档的日志文件。
  (1)、recover database 恢复所有的数据文件。
  (2)、recover tablespace 恢复特定表空间的数据文件。
  (3)、recover datafile 恢复特定的数据文件。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25617768/viewspace-758913/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2013-04-02

  • 博文量
    2
  • 访问量
    3105