楼主: jlandzpa

[精华] 请教:关于利用数据链路建表死锁的问题?

[复制链接]
论坛徽章:
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
31#
发表于 2002-10-10 01:01 | 只看该作者
最初由 blue 发布
[B]
metalink
note 53711.996
...
From: Oracle, Melissa Holman 15-Jan-01 21:43
Subject: Re : PMON cleanup

Cate,

PMON is cleaning up and rolling back all uncommitted transactions every 3 minutes and this is not configurable.
...
[/B]


I searched all other places but couldn't find any other reference to this 3 minute rule. That just doesn't sound right. According to Steve Adams, if you alter system kill session, that session will rollback its transaction. But if at this moment, you kill the shadow process for this session, PMON will take over the rollback task. That's probably what Melissa Holman was referring to. But where on earth did she get this 3 minute rule? PMON wakes up every 3 seconds to see if there's any work to do (wait event: pmon timer). If there is, it constantly does its work instead of sleeping and waiting on its timer. Melissa's message is not clear on this. Does it check every 3 minutes (which is wrong)? Does it clean up for some time shorter than 3 minutes and go to sleep for either 3 minutes, or 3 minutes minus the time it just did the cleanup? I mean, say it does the cleanup for e.g. 30 seconds, then it sleeps for 180 seconds, cleans up again for 30 seconds, sleeps for another 180 seconds? Or cleans up for 30 seconds, sleeps 150 seconds (so the total is 3 minutes)? Quite confusing.

Yong Huang

使用道具 举报

回复
论坛徽章:
2
授权会员
日期:2005-10-30 17:05:33ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41
32#
发表于 2002-10-10 10:52 | 只看该作者
最初由 Yong Huang 发布
[B]

I searched all other places but couldn't find any other reference to this 3 minute rule. That just doesn't sound right. According to Steve Adams, if you alter system kill session, that session will rollback its transaction. But if at this moment, you kill the shadow process for this session, PMON will take over the rollback task. That's probably what Melissa Holman was referring to. But where on earth did she get this 3 minute rule? PMON wakes up every 3 seconds to see if there's any work to do (wait event: pmon timer). If there is, it constantly does its work instead of sleeping and waiting on its timer. Melissa's message is not clear on this. Does it check every 3 minutes (which is wrong)? Does it clean up for some time shorter than 3 minutes and go to sleep for either 3 minutes, or 3 minutes minus the time it just did the cleanup? I mean, say it does the cleanup for e.g. 30 seconds, then it sleeps for 180 seconds, cleans up again for 30 seconds, sleeps for another 180 seconds? Or cleans up for 30 seconds, sleeps 150 seconds (so the total is 3 minutes)? Quite confusing.

Yong Huang [/B]


楼上老兄考虑得很仔细,你说的也是对的
在asktom上,有有关的faq
A simple doubt:
Oracle Documentation (Oracle Concepts) says:
"Like SMON, PMON wakes up regularly to check whether it is needed, and can be
called if another process detects the need for it."What does "regularly" mean?
Every seconnd? Milisecond?

Thank you very much!!!

Followup:  
about every 3 seconds

http://asktom.oracle.com/pls/ask ... 42376742,%7Bpmon%7D

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
33#
发表于 2003-1-17 14:12 | 只看该作者
慢慢消化!

使用道具 举报

回复
论坛徽章:
0
34#
发表于 2004-12-28 16:58 | 只看该作者

使用道具 举报

回复
招聘 : 数据库管理员
论坛徽章:
38
ITPUB北京九华山庄2008年会纪念徽章
日期:2008-01-21 16:50:24马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14现任管理团队成员
日期:2012-10-18 17:11:21版主4段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:09:232012新春纪念徽章
日期:2012-02-13 15:09:232012新春纪念徽章
日期:2012-02-13 15:09:23
35#
发表于 2004-12-28 17:27 | 只看该作者
你们讨论的好深奥哦,我有一次也碰到这种事:
create table tablename as select * from tablename@db_link;
结果执行了4个小时也没反应,好像死了,但sqlplus又可以很顺利地关掉,再运行一样的!也不报错,就停着。最让人晕的是,只有这个表会这样!别的表都几秒钟就OK了!shit !
真不爽啊,结果后来偶然发现客户机装着趋势防毒的防火墙,把防火墙关掉再试,立刻OK!!
我就不明白,为什么它别的表又可以顺利创建?这个不行创建的表虽然是最大的,但也不过十几MB而已!晕...

使用道具 举报

回复

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

本版积分规则 发表回复

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