10G日志报错Heap size 2119K exceeds notification threshold (2048K)

Linux大全评论1.6K views阅读模式

客户日志里面报错,解决办法如下:
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, an SR may be in order to investigate if you are encountering a bug in the Shared Pool.

实用下面语句修改该参数的值为上面建议的50M:

SQL> alter system set "_kgl_large_heap_warning_threshold"=52428800 scope=spfile ;(这个值是以字节为单位的)
SQL> shutdown immediate

SQL> startup open

其他:

Oracle的隐含参数(以_开头的参数),无法直接通过 show parameter来查看,可以通过X$KSPPI和X$KSPPCV视图来查看(sys用户)。

可以使用下面语句来查看相关信息:

SQL> select ki.KSPPINM NAME, kv.KSPPSTVL VALUE, kv.KSPPSTDVL DISPLAY_VALUE
      from X$KSPPI ki, X$KSPPCV kv
    where ki.indx = kv.indx
      and ki.KSPPINM like '%&v_parameter%';

企鹅博客
  • 本文由 发表于 2019年8月12日 00:37:56
  • 转载请务必保留本文链接:https://www.qieseo.com/189337.html

发表评论