Plan stability
ExorOct 23 2009 — edited Oct 23 2009Hello,
I have a complex query (too complex to try to explain here) that executes relatively fast in 2 seconds.
However if I modify anything in the query text, add a space, add a carriage return, change the case of any word, it takes 150 seconds to execute.
Toad shows the same plan for both versions of the query.
I don't know where to start looking for causes or solutions. Do you gurus have any idea what can cause this behaiour?
Thank you,