|
Re: SQL AREA HIT Ratio [message #109309 is a reply to message #109299] |
Wed, 23 February 2005 13:03 |
Mack Sundar
Messages: 20 Registered: July 2002
|
Junior Member |
|
|
If the database was only recently restarted and you have not done too much work with that database, the LIBRARY CACHE HIT ratio will be low because there haven't been too many queries that can be shared.
Wouldn't worry too much about library cache hit ratio unless it is degrading application performance.
|
|
|
|
|
Re: SQL AREA HIT Ratio [message #109887 is a reply to message #109299] |
Tue, 01 March 2005 13:32 |
pgongloo
Messages: 8 Registered: February 2005
|
Junior Member |
|
|
Besides, bind variables, if you can investigate cursor sharing =force. Some early releases had some issues, but over time the feature is stable enough. Also, check for invalidations, it might be that, the tables or dropped or re-analyzed causing it the prior SQL to be invalidated and hence not reused.
-GP
|
|
|
Re: SQL AREA HIT Ratio [message #109937 is a reply to message #109299] |
Wed, 02 March 2005 01:54 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
cursor_sharing=force is a band-aid, to be used between the moment you notice you 'forgot' to use bind-variables and the moment you deliver your patched application, using bind-variables.
It is not a definite solution.
hth
|
|
|
Re: SQL AREA HIT Ratio [message #110034 is a reply to message #109299] |
Wed, 02 March 2005 21:56 |
pgongloo
Messages: 8 Registered: February 2005
|
Junior Member |
|
|
Very true, first you should try fixing the application code to use bind variables. In the interim, you can use the "band-aid" mechanism. If you have legacy code, cursor_sharing=force might be the only option.... I have seen performance scalability of around 3X at least with cursor sharing=force, of course really depends on how much the system is bottlenecked on the shared pool/lib. cache latches. -GP
|
|
|
|
Re: SQL AREA HIT Ratio [message #110249 is a reply to message #109299] |
Fri, 04 March 2005 11:24 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
Quote: | I have no control over the application, it was not developed in house
|
If the application was developed as a custom-application, and it was done not too long ago, you could point the company that developed it to it's error in the code, because that's what it is. It makes the application not scalable, so it should be fixed.
hth
|
|
|