设为首页收藏本站language 语言切换
查看: 2838|回复: 1
收起左侧

[题库] Oracle OCP原创试题解析(40)

[复制链接]
发表于 2012-3-6 15:09:27 | 显示全部楼层 |阅读模式
You are working on an online transaction processing (OLTP) system. You notice that a PL/SQL procedure got executed twice at 2) 00 p.m. This has incorrectly updated the EMP_SAL table. How would you revert the table to its state at 2) 00 p.m.?
A) Perform point-in-time recovery to 2: 00 p.m.
B) Use Flashback Table feature to revert the changes.
C) Restore the entire database from the recent backup and open it.
D) Issue the rollback statement with system change number (SCN).

Answer: B
基于时间点得数据库恢复(point-in-time recovery)需要关闭数据库,启动到mount状态下应用归档日志进行恢复。因为是OLTP系统,所以A不合题意。
闪回表可以将单独一个表恢复到某个时间点而不影响其他表的数据,所以B正确。
C不能恢复到2:00的状态,D中rollback只能回滚未提交的事务。

头像被屏蔽
 成长值: 64880
发表于 2012-5-5 13:34:49 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
沙发 2012-5-5 13:34:49 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-12 09:46 , Processed in 0.106238 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表