Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Any way to invalidate/flush a single cursor
Does anyone know of a way to invalidate or completely flush a single
cursor?
I'm doing some performance testing of queries that are having trouble with bind variable peeking and sharing plans between executions with drastically different bind values, so I need to invalidate the cursor in between executions in order to test the explain plans of different bind variables. Is there any more focused approach than gathering stats or issuing grants on one of the query's tables? That works, but of course invalidates all other queries referencing the table.
Thanks,
Brandon
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-lReceived on Mon Aug 21 2006 - 16:30:23 CDT