Database Performance vs SGA size [message #625818] |
Tue, 14 October 2014 07:49 |
|
sakamboh
Messages: 24 Registered: March 2013 Location: oman
|
Junior Member |
|
|
Hi All,
We are facing database performance issue in our live environment.
Our total server memory is 32GB on each node.
SGA size is configured as 12GB.
Still database performance is not as per expected behaviour. Application vendor is suggesting to increase SGA size to 16GB.
I need to know how to identify that there is a need to increase SGA size ?
Secondly, please let us know what is the relation between server memory size and SGA memory size.
Your help in this regard will be much appreciated.
|
|
|
|
|
|
|
|
Re: Database Performance vs SGA size [message #625830 is a reply to message #625828] |
Tue, 14 October 2014 08:56 |
cookiemonster
Messages: 13961 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Did you restart the DB after changing sga_max_size?
Cause the above query results say that it's 8G and the DB will be quite happy if you reduce it to 4G.
SGA is not the problem here.
So I suggest you start investigating the actual issue rather than guessing. A sqltrace of the problem sessions would be a good place to start.
|
|
|
Re: Database Performance vs SGA size [message #625832 is a reply to message #625829] |
Tue, 14 October 2014 09:01 |
|
sakamboh
Messages: 24 Registered: March 2013 Location: oman
|
Junior Member |
|
|
I was showing you the value set for SGA parameter.
find below results..
SQL> show sga
Total System Global Area 1.6034E+10 bytes
Fixed Size 2244192 bytes
Variable Size 9462350240 bytes
Database Buffers 6543114240 bytes
Redo Buffers 26505216 bytes
SQL>
*BlackSwan added {code} tags to improve readability. Do so yourself in the future.
[Updated on: Tue, 14 October 2014 09:04] by Moderator Report message to a moderator
|
|
|
Re: Database Performance vs SGA size [message #625833 is a reply to message #625828] |
Tue, 14 October 2014 09:04 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
sakamboh wrote on Tue, 14 October 2014 14:47Just now we have increased it to 15 GB, the above select is provided after it has been changed to 15GB.
Please find below the the way we are checking SGA size.
SQL> show parameters sga_
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
sga_max_size big integer 15G
sga_target big integer 0
SQL>
These show that you have not set the SGA size. You have set the maximum possible SGA size. It looks to me as though you may be using automatic memory management.
You need to show the complete set of instance parameters, please. Then you need to run the applications for a sensible time before querying the various memory advisor views.
|
|
|
Re: Database Performance vs SGA size [message #625834 is a reply to message #625833] |
Tue, 14 October 2014 09:18 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>We are facing database performance issue in our live environment.
What evidence (SQL & results) can you post that shows any relationship between the reported performance problem & the size of the SGA?
Most solutions to generic performance problem do NOT involve any changes to the SGA.
[Updated on: Tue, 14 October 2014 09:50] Report message to a moderator
|
|
|