设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1775|回复: 5
收起左侧

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

[复制链接]
发表于 2012-2-27 16:59:47 | 显示全部楼层 |阅读模式
You are in the middle of a transaction and very crucial data has been modified. Because of a hardware failure, the instance has shut down before synchronizing all the database files. Which two statements are true? (Choose two.)
A) On startup, SMON coordinates instance recovery.
B) On startup, CKPT coordinates instance recovery.
C) On startup, use RMAN to perform instance recovery.
D) Uncommitted changes will be rolled back after the database is opened.
E) On startup, perform media recovery and then instance recovery.
F) On startup, all the files will be synchronized and you get both committed and uncommitted data.

Answer: A,D
当实例失败后,SMON首先找到最后SCN记录的Redo Log File,寻找最后一个打入的Checkpoint。Oracle会从这个checkpoint position处开始应用日志文件进行“前滚”来重演整个操作过程直到实例失败的那一刻,而后假如数据库发现有些事务没有进行提交,则会从Undo表空间中寻找到旧版本SCN的数据块信息,来进行SGA中Buffer Cache数据块恢复。“回滚”未提交的事务。

发表于 2012-2-29 12:11:53 | 显示全部楼层
沙发 2012-2-29 12:11:53 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-10-21 12:49:01 | 显示全部楼层
学学一下,加油
地板 2014-10-21 12:49:01 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 11:32 , Processed in 0.073854 second(s), 8 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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