Hi, Depends also on workarea_size_policy manual or auto, see manuals for that I had and know of other problems when using auto when PL/SQL arrays are used Which version are u using? Regards, Jeoren ________________________________ Van: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] Namens Lawie, Duncan Verzonden: Tuesday, January 02, 2007 15:29 Aan: 'deepak_blr@xxxxxxxxxxx'; 'ORACLE-L' Onderwerp: RE: Manual vs Auto PGA Individual sessions can't normally take more than 5% of the total value of pga_aggregate_target. ________________________________ From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of blr_dba Sent: 30 December 2006 15:01 To: 'ORACLE-L' Subject: Manual vs Auto PGA Hi Gurus. My query is using big hash joins. I had set PGA_AGGREGATE_TARGET=4GB. But when I observed the pga statistics, I found that the max. pga used by a session is 300M. That was the only user session running. Later I used manual PGA and defined the hash_area_size=2GB explicitly. Then oracle started using the whole hash_area and the query ran faster. Would like to know why oracle did not allocated teh desired hash_area_size when I used auto PGA? Are there any situations where we should use manual pga? Anything I missed? Deep ======================================================================== ====== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ======================================================================== ======