RE: ASMM and poor SQL caching

  • From: Tanel Poder <tanel.poder.003@xxxxxxx>
  • To: swhite@xxxxxxxxxxxxx, Oracle-L@xxxxxxxxxxxxx
  • Date: Sat, 19 Aug 2006 12:23:18 +0800

I just saw an issue few days ago (10.1.0.3 on SPARC) where shared_pool took
8000MB of 8GB SGA_TARGET, leaving buffer cache to 96MB for this data
warehouse.
 
Eventually the instance crashed due some failed granule allocation operation
(trying to get even more memory for shared pool). And that was so even
though SGA advisories "advised" to increase buffer cache instead and
decrease shared pool.
 
SGA_TARGET is useful in cases:
1) small to medium database, DBA doesn't want to waste 2 minutes to
configure those parameters manually (once)
2) databases with fluctuating workload (1 large batch at night, 10000 OLTP
users during day) under physical memory pressure.
    Then it's good to have ASMM juggling around with memory to get better
performance for different workloads.
 
If you don't have memory pressure - you don't need ASMM. Especially if it's
causing you problems on its own.
 
Tanel.
 


  _____  

From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Susan White
Sent: Saturday, August 19, 2006 04:53
To: 'Oracle-L@xxxxxxxxxxxxx'
Subject: ASMM and poor SQL caching



How does ASMM handle a system with high volumes of non-shareable SQL?  When
manually sizing the shared pool, we have always been reminded that a large
shared pool size could lead to serious performance problems strictly because
of the size of the pool.  Assuming you have this situation in an ASMM
environment, how does Oracle handle it?  Does the shared pool grow so large
that the other auto-sized caches are affected? Do the advisors recommend
increasing the sga_target to accommodate a huge shared pool and if so, what
are the performance ramifications?  Are they similar to those encountered
with large shared pools in a manually sized environment?

 

I realize that one of the answers is to fix the app.  However, I'm trying to
understand how ASMM would handle this situation in case it isn't a good
solution for some applications.

 

Thanks

 

Susan White

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Other related posts: