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

11G High row cache objects contention 集中在DC_USERS

[复制链接]
论坛徽章:
26
数据库板块每日发贴之星
日期:2006-09-04 01:02:512009日食纪念
日期:2009-07-22 09:30:00生肖徽章2007版:虎
日期:2009-08-12 13:08:002010新春纪念徽章
日期:2010-01-04 08:33:082011新春纪念徽章
日期:2011-02-18 11:43:35ITPUB十周年纪念徽章
日期:2011-11-01 16:20:28凯迪拉克
日期:2013-11-20 21:13:48美羊羊
日期:2015-03-04 14:48:582015年新春福章
日期:2015-03-06 11:57:31双子座
日期:2015-09-25 14:44:15
11#
发表于 2013-11-28 16:58 | 只看该作者
As you said, "一类是web 程式,主要是literal SQL.", it may be caused by hard parses.
I think you can try to set CURSOR_SHARING to similar or force, then check the performance again.

使用道具 举报

回复
论坛徽章:
41
生肖徽章2007版:鼠
日期:2008-03-31 15:43:34鲜花蛋
日期:2011-09-08 16:40:12ITPUB十周年纪念徽章
日期:2011-11-01 16:23:26复活蛋
日期:2011-11-29 13:44:05ITPUB元老
日期:2011-12-19 18:18:382012新春纪念徽章
日期:2012-01-04 11:53:54奥运会纪念徽章:跆拳道
日期:2012-07-20 14:21:01ITPUB 11周年纪念徽章
日期:2012-10-09 18:08:15蛋疼蛋
日期:2012-11-19 12:19:402013年新春福章
日期:2013-02-25 14:51:24
12#
 楼主| 发表于 2013-11-29 12:48 | 只看该作者
gengyonghui 发表于 2013-11-28 16:58
As you said, "一类是web 程式,主要是literal SQL.", it may be caused by hard parses.
I think you can ...

There is a confused  that  the high contention period and the low contention period

have the similar HARD PARSE COUNTS in AWR and the value only around 140/s.

And Why executing well-binding procedure also encounter heavy  row cache objects contention even after I using  user table  instead of system view.

使用道具 举报

回复
论坛徽章:
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
13#
发表于 2013-12-3 01:11 | 只看该作者
> Because we have some privilege consideration that set current schema is not suitable.

Can you elaborate? Why would setting current schema be related to privilege? It's just a shorthand, saving some typing.

使用道具 举报

回复
论坛徽章:
41
生肖徽章2007版:鼠
日期:2008-03-31 15:43:34鲜花蛋
日期:2011-09-08 16:40:12ITPUB十周年纪念徽章
日期:2011-11-01 16:23:26复活蛋
日期:2011-11-29 13:44:05ITPUB元老
日期:2011-12-19 18:18:382012新春纪念徽章
日期:2012-01-04 11:53:54奥运会纪念徽章:跆拳道
日期:2012-07-20 14:21:01ITPUB 11周年纪念徽章
日期:2012-10-09 18:08:15蛋疼蛋
日期:2012-11-19 12:19:402013年新春福章
日期:2013-02-25 14:51:24
14#
 楼主| 发表于 2013-12-10 10:22 | 只看该作者
Last Sunday, we changed the code in some non-bind functions to bind variable, and increase the 'session cached users' from 100 to 200 and decrease the shared_pool from 30G to 15G.

It seems the symptom goes lighter. Latch: row cache objects doesn't appear in TOP 5 until now although I also can see them sometimes.

使用道具 举报

回复
论坛徽章:
41
生肖徽章2007版:鼠
日期:2008-03-31 15:43:34鲜花蛋
日期:2011-09-08 16:40:12ITPUB十周年纪念徽章
日期:2011-11-01 16:23:26复活蛋
日期:2011-11-29 13:44:05ITPUB元老
日期:2011-12-19 18:18:382012新春纪念徽章
日期:2012-01-04 11:53:54奥运会纪念徽章:跆拳道
日期:2012-07-20 14:21:01ITPUB 11周年纪念徽章
日期:2012-10-09 18:08:15蛋疼蛋
日期:2012-11-19 12:19:402013年新春福章
日期:2013-02-25 14:51:24
15#
 楼主| 发表于 2013-12-10 10:24 | 只看该作者
But  from 'select latch#,child#, gets,misses,sleeps from v$latch_children  where name='row cache objects' order by gets desc'

DC_USERS also have highest misses and sleeps...

使用道具 举报

回复
论坛徽章:
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
16#
发表于 2013-12-11 00:21 | 只看该作者
You're doing the right thing to change code to use bind variables. They're essential in OLTP.

But that may be unrelated to your row cache objects latch contention, which has more to do with object owner resolution.

(In English, when you say "until" in a negative sentence, you imply what's stated in the main clause reverses: "...doesn't appear in TOP 5 until now" means "it does appear now". You probably meant to say "so far" instead of "until".)

使用道具 举报

回复
论坛徽章:
41
生肖徽章2007版:鼠
日期:2008-03-31 15:43:34鲜花蛋
日期:2011-09-08 16:40:12ITPUB十周年纪念徽章
日期:2011-11-01 16:23:26复活蛋
日期:2011-11-29 13:44:05ITPUB元老
日期:2011-12-19 18:18:382012新春纪念徽章
日期:2012-01-04 11:53:54奥运会纪念徽章:跆拳道
日期:2012-07-20 14:21:01ITPUB 11周年纪念徽章
日期:2012-10-09 18:08:15蛋疼蛋
日期:2012-11-19 12:19:402013年新春福章
日期:2013-02-25 14:51:24
17#
 楼主| 发表于 2013-12-11 13:25 | 只看该作者
Yong Huang 发表于 2013-12-11 00:21
You're doing the right thing to change code to use bind variables. They're essential in OLTP.

But ...

ha...Thanks.

使用道具 举报

回复

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

本版积分规则 发表回复

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