最近AlertSid.log有错误如下:
Tue Sep 15 00:00:06 2009
Memory Notification: Library Cache Object loaded into SGA
Heap size 3708K exceeds notification threshold (2048K)
Details in trace file /opt/oracle/admin/alpha/udump/alpha_ora_2177.trc
KGL object name :XDB.XDbD/PLZ01TcHgNAgAIIegtw==
Tue Sep 15 00:00:07 2009
Memory Notification: Library Cache Object loaded into SGA
Heap size 4067K exceeds notification threshold (2048K)
Details in trace file /opt/oracle/admin/alpha/udump/alpha_ora_2177.trc
KGL object name :XDB.XDA8XlWX/h+P3gQFeMmGQWfg==
Tue Sep 15 00:01:01 2009
Errors in file /opt/oracle/admin/alpha/udump/alpha_ora_2239.trc:
一查,原因是版本10.2.0.1中,这个定义大对象的阈值是2M,在load较大的对象进library cache中时,会记录以上警告。这个bug在10.2.0.2中被fixed, 这个值被增加到了50MB。
解决办法:
置隐藏参数_kgl_large_heap_warning_threshold,将其扩大即可,假如设为8M,这个参数的单位是byte。
操作如下:
SQL> show parameter _kgl_large_heap_warning_threshold
SQL> alter system set “_kgl_large_heap_warning_threshold”=8388608 scope=spfile ;
系统已更改。
SQL> shutdown immediate;
SQL> show parameter _kgl_large_heap_warning_threshold
NAME TYPE VALUE
———————————— ———– ——————————
_kgl_large_heap_warning_threshold integer 838860

最近留言