Any way to invalidate/flush a single cursor

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 21 Aug 2006 14:30:23 -0700

Does anyone know of a way to invalidate or completely flush a single
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.

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.

Other related posts: