Hi All,
oracle version=8.1.6
os=sun 2.7
database =production
I have very serious problem with my production database.Daily every morning there is a huge wait for Latch free wait event in library cache and the database cannot take this wait and goes down.
I know if i increase the size of the shared_pool i would benifit,but this is temporary solution.And also i have set the latch no. to the max. allowed.
Can you please suggest me a permanenet solution for this problem.
db_block_lru_latches has nothing to do with library cache, it sets number of latches for cache buffer chain lru latch which is another latch to manage LRU lists in data block buffer
Originally posted by anandkl
SO you suggest that using bind variable is the only safe solution.
+
Check for session high parse time in v$sesstat or also look in v$sqlarea/v$sql for high ratio of parse calls to execution, high number of reloads or invalidations...
I have gone through all this process and found out that the sql are getting invalidated and resulting in 'HARD PARSE', so i want a solution to avoid this 'HARD PARSE'
Originally posted by anandkl I have gone through all this process and found out that the sql are getting invalidated and resulting in 'HARD PARSE', so i want a solution to avoid this 'HARD PARSE'
regards
anandkl
then solution is as suggested by Pando.. Use bind variables, use procedures,... pin frequently used objects
Bookmarks