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

SQL 重新load的原因?

[复制链接]
论坛徽章:
2
2010新春纪念徽章
日期:2010-03-01 11:06:24复活蛋
日期:2013-03-27 09:09:26
11#
 楼主| 发表于 2009-7-30 17:27 | 只看该作者
Many thanks for yong's help.

   But the DB has only one main user schema for AP. So it used most share pool memory.  And I monitor one SQL, found  that if the sql execution is increasing in v$sqlarea, the sharable_mem is also increasing.

  I think it's abnormal.   But I don't understand what can  lead this symptom ??? Pls give me some advice.


Thanks,
Yu

使用道具 举报

回复
论坛徽章:
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#
发表于 2009-7-31 03:28 | 只看该作者
原帖由 YYH2458 于 2009-7-30 03:27 发表
   But the DB has only one main user schema for AP. So it used most share pool memory.  And I monitor one SQL, found  that if the sql execution is increasing in v$sqlarea, the sharable_mem is also increasing.

  I think it's abnormal.   But I don't understand what can  lead this symptom ??? Pls give me some advice.


What if you check v$sql? If it's simply because you have more and more child cursors for one parent SQL, check v$sql_shared_cursor to see why the same child cursor can't be shared.

If checking v$sql still shows sharable_mem increase, that's odd. Any other value that changes? Executions and buffer_gets of course. What else?

You said you're running 8.1.7.4? I can't find a bug, but Bug 1519805 is kind of like it, although it's for 8.1.6.2. Can you creat a test case? This is what I did in 10.2.0.4:

select count(*) from t;
query v$sql for the above SQL
select count(*) from t;
query v$sql again, check all values that have changed (not just sharable_mem)
run a DDL on t (grant select on t to dba)
select...
query

I don't see change in sharable_mem.

Yong Huang

[ 本帖最后由 Yong Huang 于 2009-7-30 13:45 编辑 ]

使用道具 举报

回复

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

本版积分规则 发表回复

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