问题:alert_SID.log出现

Memory Notification: Library Cache Object loaded into SGA

Heap size 2289K exceeds notification threshold (2048K)

Oracle10g中,在load较大的对象进library cache中时,会记录以上警告。在版本10.2.0.1中,这个定义大对象的阈值是2M,这是有隐含参数 _kgl_large_heap_warning_threshold指定的,如果系统中需要load很多大对象,又不想在alert中看到太多这类的警 告信息,可以修改该参数:

SQL> alter system set "_kgl_large_heap_warning_threshold"=8388608 scope=spfile;

参数值以字节为单位,设置完后需要重启实例才能生效。

从10.2.0.2起,这个参数的默认值被修改为50M.

下面是oracle上的metalink信息:

Memory Notification: Library Cache Object Loaded Into Sga

In 10g we have a new undocumented parameter that sets the KGL heap size warning threshold. This parameter was not present in 10gR1.Warnings are written if heap size exceeds this threshold.

Set _kgl_large_heap_warning_threshold to a reasonable high value or zero to prevent these warning messages. Value needs to be set in bytes.

If you want to set this to 8192 (8192 * 1024) and are using an spfile:

(logged in as "/ as sysdba")

SQL> alter system set "_kgl_large_heap_warning_threshold"=8388608 scope=spfile ;

SQL> shutdown immediate

SQL> startup

SQL> show parameter _kgl_large_heap_warning_threshold

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

_kgl_large_heap_warning_threshold integer 8388608

If using an "old-style" init parameter,

Edit the init parameter file and add

_kgl_large_heap_warning_threshold=8388608

NOTE: The default threshold in 10.2.0.1 is 2M. So these messages could show up frequently in some application environments.

In 10.2.0.2, the threshold was increased to 50MB after regression tests, so this should be a reasonable and recommended value. If you continue to see the these warning messages in the alert log after applying 10.2.0.2 or higher, please contact Oracle Support Services for further investigation of any possible shared pool problems.

转载于:https://www.cnblogs.com/huangjingzhou/articles/2224587.html

Memory Notification: Library Cache Object loaded into SGA问题相关推荐

  1. Memory Notification: Library Cache Object loaded into SGA / ORA-600 [KGL-heap-size-exceeded]

    这些是不会导致进程失败的警告消息. 它们是以10gR2数据库版本开始引入的事件消息传递机制和内存管理器的结果. 由于共享池中的大对象可能会导致问题,因此已实施此警告阈值. 分配比此警告阈值更多的空间的 ...

  2. Oracle Library Cache 的 lock 与 pin 说明

    一. 相关的基本概念 之前整理了一篇blog,讲了Library Cache 的机制,参考: Oracle Library cache 内部机制 说明 http://blog.csdn.net/tia ...

  3. (转载)library cache lock和library cache pin到底是什么

    (http://www.dbsnake.net/library-cache-lock-and-pin.html) Posted: December 16, 2011 | Author: Cui Hua ...

  4. 并行insert出现library cache lock与cursor: pin S wait on X等待问题记录

    一. 故障现象与紧急处理 开发反馈凌晨5点左右应用出现大量报错 ORA-04021: timeout occurred while waiting to lock object,并且集中出现在inse ...

  5. 经验:Library Cache Lock之异常分析-云和恩墨技术通讯精选

    亲爱的读者朋友: 为了及时共享行业案例,通知共性问题,达成共享和提前预防,我们整理和编辑了<云和恩墨技术通讯>,通过对过去一段时间的知识回顾,故障归纳,以期提供有价值的信息供大家参考.同时 ...

  6. 《Oracle高性能自动化运维》一一2.3 Library Cache

    本节书摘来自华章计算机<Oracle高性能自动化运维>一书中的第2章,第2.3节,作者:冷菠 著,更多章节内容可以访问云栖社区"华章计算机"公众号查看. 2.3 Lib ...

  7. Oracle后台专家解决library cache锁争用的终极武器

    今天来给大家分享一个Oracle使用中的小技巧. 当某条SQL语句或者对象被反复访问,过多的软解析可能会造成大量的"library cache:mutex X"争用,有什么样的方法 ...

  8. oracle10503事件,library cache: mutex X等待事件, blocker session on cpu

    library cache: mutex X等待事件是当一个会话以 exclusive mode持有library cache mutex时,另一个会话当前无论何时申请此mutex时必须等待其释放.很 ...

  9. 【云和恩墨大讲堂】故障分析 | library cache latch 竞争案例分享

    李华(网名:回忆未来) 云和恩墨高级技术顾问 本篇整理内容是本周四晚李华在"云和恩墨大讲堂"中授课的课件资料:故障分析 - library cache latch 竞争案例分享,如 ...

最新文章

  1. (二)文档请求不同源之window.name跨域
  2. Junit4小技巧-测试基类
  3. Delphi与SQL模糊查询(转载)
  4. 今日代码(20210313)--美赛代码记录
  5. 网络空间技术实验室:打造信息安全技术培育平台
  6. 当电压放大电路的开路增益和输出电阻固定后_晶体管放大电路的性能分析与应用...
  7. mysql ha 安装 配置文件_Linux下环境安装配置Rose HA全攻略(图)
  8. ASP.Net新手项目经验谈
  9. 44rwx权限45权限说明案例46修改权限
  10. ARKit:也许是 iPhone 十周年最好的新开始
  11. 网页素材精品:一组五彩缤纷的免费矢量背景素材
  12. linux系统下制作启动u盘,在Linux系统下如何制作创建win10启动盘U盘启动?
  13. MAC 下的SVN客户端 Versions、SmartSVN、Cornerstone
  14. Attention机制--concat方式
  15. Let us learn English confidently
  16. PMP第11章:项目风险管理易错习题和知识点汇总
  17. Java POI实现pptpptx转换为pdf文件
  18. 【解密】OpenSea免费创造的NFT都没上链竟能出现在我的钱包里?
  19. 应用进程和内核的关系
  20. 第七届计算机科学夏令营,2020年中国科学技术大学第七届计算机科学暑期夏令营报名通知...

热门文章

  1. 计算机五个部件中协调,计算机基础知识(一)
  2. 设计一个扩展自抽象类geometricobject的新的triangle类_如何进行代码抽象设计?
  3. anaconda使用github代码_使用这几款插件,能让你在GitHub看代码的效率翻倍
  4. 信源压缩编码 编程c语言,霍夫曼信源编码实验报告.docx
  5. 开发成本谁更高:Android PK iOS
  6. 计算机网络技术放块队解说词,基于《计算机网络技术》课程多媒体课件制作与设计.doc...
  7. Java基础---继承详解--this/supper---方法的重写与重载
  8. linux freopen函数
  9. 再谈CSS动画 - 说点不知道的(一)贝塞尔曲线
  10. [HDU 3555] Bomb