This is an important ratio. Formula for finding this ratio:
Execute to Parse ratio = 100 - (Parse count/ Executions * 100)
If you parse once and execute more, then the ratio will be near to 100%.
If you parse every time you execute, then the ratio will be near to 1%.
When the value is too low, it means the SQL is not sharable.
You may need to set CURSOR_SHARING to FORCE. Set SESSION_CACHED_CURSORS init parameter. Increase OPEN_CURSORS init parameter.
Find out which SQL statement has parse count equal to execute count. These statements are contributing to inefficient cursor sharing.
Run hitratio script to get the ratio
Thanks
Sunday, July 5, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment