ITPUB??ì3
12月微软Hyper-V虚拟化沙龙主题征集

标题: 请教!
离线 tiancaiha



精华贴数 0
个人空间 0
技术积分 165 (11429)
社区积分 0 (1847971)
注册日期 2008-8-19
论坛徽章:1
2008北京奥运纪念徽章:田径     
      

发表于 2008-9-12 09:16 
请教!

请问Recovery Manager (RMAN) backups  would be inconsistent. 对吗?为什么?
150. The session of user SCOTT receives the following error after executing an UPDATE command on the EMP table:
ERROR at line 1:
ORA-00060: deadlock detected while waiting for resource
On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock.
Which two statements are true regarding the session of SCOTT in this scenario? (Choose two.)
A) It is terminated after receiving the error and JIM can continue with his transaction.
B) The transaction in it is terminated after receiving the error and JIM can continue with his transaction.
C) SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.
D) SCOTT has to reexecute the last command in the transaction after he commits the transaction.
这个c对吗?不是jim执行的时候产生deadlock了吗?怎么是scott执行commit和rollback呢?

[ 本帖最后由 tiancaiha 于 2008-9-12 13:21 编辑 ]


只看该作者    顶部
离线 赵宇


来自 沈阳
精华贴数 2
个人空间 1801
技术积分 7094 (187)
社区积分 292 (1974)
注册日期 2004-11-14
论坛徽章:26
现任管理团队成员ITPUB元老ITPUB北京九华山庄2008年会纪念徽章生肖徽章2007版:龙2008北京奥运纪念徽章:射箭2008北京奥运纪念徽章:赛艇
2008北京奥运纪念徽章:游泳2008北京奥运纪念徽章:水球2008北京奥运纪念徽章:花样游泳2008北京奥运纪念徽章:手球2008北京奥运纪念徽章:自行车 

发表于 2008-9-12 09:49 
一致备份与不一致备份的区分是针对数据库状态来讲的,数据库打开的情况下,还有事务操作,在归档模式下,可以用RMAN做在线备份,这个时候可以理解为不一致的备份。


__________________
最大的追求莫过于让自己稳重、冷静、沉着、思考多学习、多做事最大的放弃莫过于浮躁

我的空间
只看该作者    顶部
离线 lucky_lau
版主


精华贴数 2
个人空间 0
技术积分 15740 (70)
社区积分 6074 (257)
注册日期 2002-1-5
论坛徽章:12
现任管理团队成员管理团队2007贡献徽章2008年新春纪念徽章   
      

发表于 2008-9-12 09:50 
看情况吧,热备一般是不一致的,冷备是一致的


__________________
只看该作者    顶部
离线 tiancaiha



精华贴数 0
个人空间 0
技术积分 165 (11429)
社区积分 0 (1847971)
注册日期 2008-8-19
论坛徽章:1
2008北京奥运纪念徽章:田径     
      

发表于 2008-9-12 09:52 
哦,非常感谢!!!


只看该作者    顶部
离线 tiancaiha



精华贴数 0
个人空间 0
技术积分 165 (11429)
社区积分 0 (1847971)
注册日期 2008-8-19
论坛徽章:1
2008北京奥运纪念徽章:田径     
      

发表于 2008-9-12 10:26 
150. The session of user SCOTT receives the following error after executing an UPDATE command on the EMP table:
ERROR at line 1:
ORA-00060: deadlock detected while waiting for resource
On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock.
Which two statements are true regarding the session of SCOTT in this scenario? (Choose two.)
A) It is terminated after receiving the error and JIM can continue with his transaction.
B) The transaction in it is terminated after receiving the error and JIM can continue with his transaction.
C) SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.
D) SCOTT has to reexecute the last command in the transaction after he commits the transaction.
这个c对吗?不是jim执行的时候产生deadlock了吗?怎么是scott执行commit和rollback呢?


只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问