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

oracle atomic operation logs

[复制链接]
求职 : 数据库管理员
招聘 : Java研发
论坛徽章:
6402
娜美
日期:2021-10-12 20:11:36技术图书徽章
日期:2021-09-30 12:11:1120周年集字徽章-年	
日期:2021-09-30 12:12:5820周年集字徽章-20	
日期:2021-09-30 12:43:0619周年集字徽章-周
日期:2021-09-30 13:18:3120周年集字徽章-20	
日期:2021-09-30 16:44:1219周年集字徽章-周
日期:2021-09-30 17:01:04技术图书徽章
日期:2021-09-30 17:59:14技术图书徽章
日期:2021-10-06 10:36:4019周年集字徽章-19
日期:2021-10-06 14:43:24
11#
 楼主| 发表于 2014-6-18 19:52 | 只看该作者
vage 发表于 2014-6-18 11:58
什么资料啊。发过来看看

下面的资料中,有个:
the mutex state diagram

图中,有几个步骤:GET DECR
GET_LONG_EXCL 不太明白,不过GET_LONG_EXCL猜测是长时间占用mutex 不知道对不对

使用道具 举报

回复
论坛徽章:
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#
发表于 2014-6-20 03:14 | 只看该作者
GET_DECR seems to be the function or macro for the mutex state to go from S1 (S for shared mode) to E0 (E for examine mode), and GET_LONG_EXCL to go from NONE to LONG_X. I'm guessing that long exclusive is the mode held by a session busy for quite a while on the CPU while holding in exclusive mode.

The diagram shows all mutex *transition* operations and their function names. Some operations that are not transitions are not shown. For example, if you check oracle binary (strings $ORACLE_HOME/bin/oracle), you'll see these functions:

GET_SHRD
SHRD_EXAM
REL_SHRD
GET_EXCL
REL_EXCL
GET_INCR
INCR_EXAM
GET_DECR
DECR_EXAM
EXCL_SHRD
GET_EXAM
GET_LONG_EXCL
REL_LONG_EXCL

So for instance, INCR_EXAM is not listed as a transition operation.

使用道具 举报

回复
求职 : 数据库管理员
招聘 : Java研发
论坛徽章:
6402
娜美
日期:2021-10-12 20:11:36技术图书徽章
日期:2021-09-30 12:11:1120周年集字徽章-年	
日期:2021-09-30 12:12:5820周年集字徽章-20	
日期:2021-09-30 12:43:0619周年集字徽章-周
日期:2021-09-30 13:18:3120周年集字徽章-20	
日期:2021-09-30 16:44:1219周年集字徽章-周
日期:2021-09-30 17:01:04技术图书徽章
日期:2021-09-30 17:59:14技术图书徽章
日期:2021-10-06 10:36:4019周年集字徽章-19
日期:2021-10-06 14:43:24
13#
 楼主| 发表于 2014-6-20 08:20 | 只看该作者
Yong Huang 发表于 2014-6-20 03:14
GET_DECR seems to be the function or macro for the mutex state to go from S1 (S for shared mode) to  ...

谢谢版主。
不知道你从哪得到的资料,我找了挺长时间没搜到

使用道具 举报

回复
论坛徽章:
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
14#
发表于 2014-6-21 01:46 | 只看该作者
It's the same document by Andrey Nikolaev. I posted the URL in msg #2 and you posted it in #8.

使用道具 举报

回复

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

本版积分规则 发表回复

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