12
返回列表 发新帖
楼主: eof007

IMU疑惑

[复制链接]
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:43:34ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32
11#
 楼主| 发表于 2010-8-16 10:23 | 只看该作者
我只是对IMU事务回滚处理有些奇怪。
对于正常的系统,回滚都很少,可能oracle认为怎么处理都影响不大。
按照IMU原理,是可以把IMU回滚事务完全丢掉,在redo file中不做任何记录的,当做这个事务不存在。

[ 本帖最后由 eof007 于 2010-8-16 10:42 编辑 ]

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
12#
发表于 2010-8-16 23:32 | 只看该作者
> 按照IMU原理,是可以把IMU回滚事务完全丢掉,在redo file中不做任何记录的,当做这个事务不存在。

I guess it's a matter of how much code change Oracle wants to make. What you say sounds like simplifying Oracle code. But in fact, it may actually be adding more complexity, because there's so much detail to take care of in this risky code change. (For example, you still need to deal with the changes already made to the datafile blocks even if you throw away redo.) So Oracle chooses the easier way, i.e. making the least change.

Yong Huang

[ 本帖最后由 Yong Huang 于 2010-8-16 09:39 编辑 ]

使用道具 举报

回复
论坛徽章:
86
2015中国数据库技术大会纪念徽章
日期:2015-04-24 16:04:24马上有车
日期:2014-02-19 11:55:14马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11优秀写手
日期:2013-12-18 09:29:11日产
日期:2013-10-17 08:44:39马自达
日期:2013-08-26 16:28:022013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-23 16:55:51马上有房
日期:2014-02-19 11:55:14
13#
发表于 2010-8-19 09:36 | 只看该作者
原帖由 Yong Huang 于 2010-8-16 23:32 发表
> 按照IMU原理,是可以把IMU回滚事务完全丢掉,在redo file中不做任何记录的,当做这个事务不存在。

I guess it's a matter of how much code change Oracle wants to make. What you say sounds like simplifying Oracle code. But in fact, it may actually be adding more complexity, because there's so much detail to take care of in this risky code change. (For example, you still need to deal with the changes already made to the datafile blocks even if you throw away redo.) So Oracle chooses the easier way, i.e. making the least change.

Yong Huang



从程序开发角度,确实有可能是这样。猜想一下,IMU可能在rollback\commit前增加将imu打包为undo segment的操作。但是,去修改rollback\commit相关的代码,加入相关IMU内容,可能风险很大。

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表