RE: Bind variables peeked on first parse, but not on subsequent hard parses

I tested in 10.2.0.4 using dbms_shared_pool.purge to clear heap 6 out of the 
shared pool and when I reloaded the query, the bind variables were peeked again 
so based on that, it doesn't look like the same problem exists in 10.2.0.4 as 
what I'm seeing in 10.2.0.2, however when I've seen the problem in the 10.2.0.2 
database, the plan was aged out naturally over time, not purged with 
dbms_shared_pool, so it's not exactly an apple-to-apples comparison.  
Unfortunately, dbms_shared_pool.purge doesn't exist in 10.2.0.2 so I'll have to 
install a patch to add it and do some more testing

Kerry, I didn't check on v$sql_bind_capture last time since my understanding is 
that there is no relation between the values in that view (captured every 15 
minutes by default) and the values peeked at query parse/optimization time, but 
I'll check it next time the problem occurs.

Thanks,
Brandon

-----Original Message-----
From: Martin Ruthner [mailto:ruthner@xxxxxxxxxxx]

With 10.2.0.2 I'd say it's probably a bug.


Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.
--
http://www.freelists.org/webpage/oracle-l


Other related posts: