Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Any way to invalidate/flush a single cursor

Any way to invalidate/flush a single cursor

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Mon, 21 Aug 2006 14:30:23 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45059E1D34@NT15.oneneck.corp>


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-l
Received on Mon Aug 21 2006 - 16:30:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US