SQL Performance (MOSC)

MOSC Banner

SQL with Bind Variables executes slow

edited Dec 10, 2013 3:06PM in SQL Performance (MOSC) 6 commentsAnswered
Oracle Version  : 11.2

Dear friends,

I have a SQL Query which executes slowly with Bind variable compared to actual values. Please find the query and explain plan and statistics below. Based on my research I was able to find the difference in the execution plan and resulting in more disk reads is due to BIND PEEKING. 

But what is the best way to fix this problem?, I read a lot on articles on this issue but nothings i found  really points to a solution. I tried flushing the shared pool to force a hard parse but that did not help. Any pointer or help is really appreciated. Thanks for your help in advance.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center