Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-04030: out of process memory
Hey Howard,
PGA_AGGREGATE_TARGET is set to 24MB on this database. I have been trawling through a lot of documentation about memory tuning and there is so much to learn! Since this is an OLTP application that we are running, I have been reading a lot about the library cache and the methods to work out when to change the shared_pool. Also, I have read about the PGA.
From what I have read, the value that is set is used to control dynamically the amount of memory alloted to sql statements?
my findings are:
OPTIMAL_PERC ONEPASS_PERC MULTIPASS_PERC 99.31 0.64 0.05
So this is pretty good.
Querying this view shows me one interesting thing:
over allocation count = 585806
Meaning that the PGA_AGGREGATE_TARGET setting has not been honored by oracle since more PGA memory has been allocated since the startup of the instance. The PGA_AGGREGATE_TARGET setting needs to be increased according to the v$pga_target_advice view.
SELECT round(PGA_TARGET_FOR_ESTIMATE/1024/1024) target_mb,
ESTD_PGA_CACHE_HIT_PERCENTAGE cache_hit_perc, ESTD_OVERALLOC_COUNT
and this yielded:
TARGET_MB CACHE_HIT_PERC ESTD_OVERALLOC_COUNT 12 97 13323 18 97 13323 24 100 12859 29 100 12753 34 100 12706 38 100 12675 43 100 12640 48 100 12613 72 100 12387 96 100 12214 144 100 11601 192 100 10956
Now apparently when the ESTD_OVERALLOC_COUNT is non zero, this indicates that the PGA_AGGREGATE_TARGET is too small to even meet the minimum PGA memory needs. Yet the query yields a high cache hit percentage! That confuses me...
So on both counts, I see that my 24MB PGA_AGGREGATE_TARGET needs to be increased. I can double or treble it - the v$pga_target_advice doesnt really indicate to me what to set it to.
I dont have anyone to bounce these findings off - so can I get some opinions on this please?
If I have misinterpreted anything here, please do let me know. Ironically, I am enrolled to do a performance tuning course next month!
thanks,
-AbhinavK
Howard J. Rogers wrote:
> On Wed, 11 Aug 2004 07:32:01 GMT, AK <ak_at_ak.org> wrote: >
> > > Just to clarify... given that you are on 9i, are you absolutely certain > you are using sort_area_size as the PGA's sizing parameter? The > new(ish) 9i alternative is to use the PGA_AGGREGATE_TARGET parameter to > have the PGA managed automatically and dynamically. > > If you aren't using PGA_AGGREGATE_TARGET, then perhaps you should be. > > Regards > HJRReceived on Wed Aug 11 2004 - 23:36:51 CDT