ORA-32690: 散列表基礎結構記憶體不足

來源:互聯網
上載者:User

ORA-32690: 散列表基礎結構記憶體不足

[Oracle@sdw0 ~]$ oerr ora 32690
 32690, 00000, "Hash Table Infrastructure ran out of memory"
 // *Cause: Not enough memory.
 // *Action: Increase memory.
 

This is a known bug on database version 10.2.0.3. The bug is fixed in 11.2 release.
 
Recommended solution always to be on the latest patchset or even 11.1.0.6 where there is one off backport for several platforms .
 
The bug also has a one off on top of 10.2.0.4, if you are not able to be on top of 10.2.0.4 for the time being, so our option now is to resolve the issue on top of 10.2.0.3
 
No one off on top of 10.2.0.3 for Solaris platform however the good news that there is a merge Patch 6907160 MERGE LABEL REQUEST ON TOP OF 10.2.0.3 FOR BUGS 6471770 6471515, available to Solaris platform.
 
There are also the available workarounds
 1. Disable Hash group-by by setting “_gby_hash_aggregation_enabled” to FALSE in init.ora
 2. Use a NO_USE_HASH_AGGREGATION hint in your statements
 

原因分析:

解決方案:
 
1.增加PGA的pga_aggregate_target的大小。
 
2.Disable HASH GROUP BY operations bysetting the parameter _gby_hash_aggregation_enabled to FALSE:
 
  SQL> alter session set"_gby_hash_aggregation_enabled" = false;
 
    or
 
  SQL> alter systemset "_gby_hash_aggregation_enabled" = falsescope=spfile;
 
  A hard parse tothe statement needs to be performed, preferably to flush the Shared Pool aftersetting this workaround and then re-run the statement.
 
  --要使修改生效,需要執行一次硬解析,所以可以選擇flush share pool,然後執行SQL。

 3.不使用hash join:select /*+ NO_USE_HASH_AGGREGATION*/.....

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.