免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8175 | 回复: 7
打印 上一主题 下一主题

[rman] RMAN中RESTORE 命令的until 使用 [复制链接]

论坛徽章:
459
亥猪
日期:2014-05-31 12:08:03亥猪
日期:2014-05-31 12:07:38亥猪
日期:2014-05-31 12:08:04亥猪
日期:2014-05-31 12:07:43亥猪
日期:2014-05-31 12:07:52亥猪
日期:2014-05-31 12:08:09亥猪
日期:2014-05-31 12:07:51亥猪
日期:2014-05-31 12:08:02亥猪
日期:2014-05-31 12:07:59亥猪
日期:2014-05-31 12:07:37亥猪
日期:2014-05-31 12:07:50亥猪
日期:2014-05-31 12:07:39
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-01-03 14:26 |只看该作者 |倒序浏览
最先答对且答案未经编辑的cuber将根据试题的难度可能获得10-50不等的积分悬赏:
注意:会员需对此贴答案进行说明和简要分析,无说明者不能获得奖励。
或者,给出相关的文档说明,如果能用实验模拟的积分翻倍。

What is the purpose of the until change option of the restore command?

A.  It allows you to select the SCN that you want to restore to.
B.  It allows you to select the log sequence number you want to restore to.
C.  It allows you to select the timestamp you want to restore to.
D.  It allows you to manually stop the restore at any time as online redo logs are applied.
E.  None of the above.

论坛徽章:
7
天蝎座
日期:2013-08-16 23:19:32丑牛
日期:2014-01-08 09:20:14寅虎
日期:2014-01-11 11:03:44午马
日期:2014-04-28 11:02:40天秤座
日期:2014-05-16 23:24:24摩羯座
日期:2014-07-20 10:46:04卯兔
日期:2014-08-08 15:21:41
2 [报告]
发表于 2014-01-03 19:40 |只看该作者
SCN吧
A

Syntax Element        Description
UNTIL SCN = integer        Specifies an SCN as an upper limit. RMAN selects only files that can be used to restore or recover up to but not including the specified SCN. For example, RESTORE DATABASE UNTIL SCN 1000 chooses only backups that could be used to recover to SCN 1000.

论坛徽章:
459
亥猪
日期:2014-05-31 12:08:03亥猪
日期:2014-05-31 12:07:38亥猪
日期:2014-05-31 12:08:04亥猪
日期:2014-05-31 12:07:43亥猪
日期:2014-05-31 12:07:52亥猪
日期:2014-05-31 12:08:09亥猪
日期:2014-05-31 12:07:51亥猪
日期:2014-05-31 12:08:02亥猪
日期:2014-05-31 12:07:59亥猪
日期:2014-05-31 12:07:37亥猪
日期:2014-05-31 12:07:50亥猪
日期:2014-05-31 12:07:39
3 [报告]
发表于 2014-01-03 20:17 来自手机 |只看该作者
看官方文档B,C貌似也可以啊。等我明天把页面发上来…

论坛徽章:
7
天蝎座
日期:2013-08-16 23:19:32丑牛
日期:2014-01-08 09:20:14寅虎
日期:2014-01-11 11:03:44午马
日期:2014-04-28 11:02:40天秤座
日期:2014-05-16 23:24:24摩羯座
日期:2014-07-20 10:46:04卯兔
日期:2014-08-08 15:21:41
4 [报告]
发表于 2014-01-03 21:25 |只看该作者
本帖最后由 www_xylove 于 2014-01-03 21:28 编辑

回复 3# 2009532140

你去查一下,我确认是A。

until change 是指until scn
并非until sequence
并非until timestamp

A是恢复到一个SCN号
B是恢复到一个日志序列号
C是恢复到一个时间点
D是手工指定到一个时间点
E是上面的都不对

我再次确信是A

谢谢



   

论坛徽章:
459
亥猪
日期:2014-05-31 12:08:03亥猪
日期:2014-05-31 12:07:38亥猪
日期:2014-05-31 12:08:04亥猪
日期:2014-05-31 12:07:43亥猪
日期:2014-05-31 12:07:52亥猪
日期:2014-05-31 12:08:09亥猪
日期:2014-05-31 12:07:51亥猪
日期:2014-05-31 12:08:02亥猪
日期:2014-05-31 12:07:59亥猪
日期:2014-05-31 12:07:37亥猪
日期:2014-05-31 12:07:50亥猪
日期:2014-05-31 12:07:39
5 [报告]
发表于 2014-01-04 10:09 |只看该作者
回复 4# www_xylove


    To recover the database until a specified time, SCN, or log sequence number

论坛徽章:
7
天蝎座
日期:2013-08-16 23:19:32丑牛
日期:2014-01-08 09:20:14寅虎
日期:2014-01-11 11:03:44午马
日期:2014-04-28 11:02:40天秤座
日期:2014-05-16 23:24:24摩羯座
日期:2014-07-20 10:46:04卯兔
日期:2014-08-08 15:21:41
6 [报告]
发表于 2014-01-05 14:56 |只看该作者
回复 5# 2009532140

看清楚题意:
"....until change option ..."

你这个“To recover the database until a specified time, SCN, or log sequence number”,的确是这样的,但是题意只有你选择SCN。
明白吗?




   

论坛徽章:
459
亥猪
日期:2014-05-31 12:08:03亥猪
日期:2014-05-31 12:07:38亥猪
日期:2014-05-31 12:08:04亥猪
日期:2014-05-31 12:07:43亥猪
日期:2014-05-31 12:07:52亥猪
日期:2014-05-31 12:08:09亥猪
日期:2014-05-31 12:07:51亥猪
日期:2014-05-31 12:08:02亥猪
日期:2014-05-31 12:07:59亥猪
日期:2014-05-31 12:07:37亥猪
日期:2014-05-31 12:07:50亥猪
日期:2014-05-31 12:07:39
7 [报告]
发表于 2014-01-16 10:47 |只看该作者
回复 4# www_xylove


    Type of Recovery        Function
  -------------------     ----------------------------
  Time-based recovery     Recovers the data up to a specified point in time.
  Cancel-based recovery   Recovers until you issue the CANCEL statement (not available when using Recovery Manager).
  Change-based recovery   Recovers until the specified SCN.
  Log sequence recovery   Recovers until the specified log sequence number (only available when using Recovery Manager).

论坛徽章:
7
天蝎座
日期:2013-08-16 23:19:32丑牛
日期:2014-01-08 09:20:14寅虎
日期:2014-01-11 11:03:44午马
日期:2014-04-28 11:02:40天秤座
日期:2014-05-16 23:24:24摩羯座
日期:2014-07-20 10:46:04卯兔
日期:2014-08-08 15:21:41
8 [报告]
发表于 2014-01-16 13:35 |只看该作者
题意就是Change-based recovery   Recovers until the specified SCN. 这个。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP