RE: is it possible to manufacture a query plan.

From: Shanmugam, Satheesh B <satheesh.b.shanmugam_at_jpmchase.com>
Date: Tue, 13 Mar 2012 11:34:14 +0000
Message-ID: <2BCCB1F834945545A57388A869B75CA4033BE2_at_SPTCMX003.exchad.jpmchase.net>



Slow in catching up with the mails. Pls look into below url,

https://blogs.oracle.com/optimizer/entry/how_can_i_hint_a

Regards,
Satheesh Shanmugam

-----Original Message-----

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Dustin Hayden Sent: Thursday, February 23, 2012 9:28 PM To: Niall Litchfield
Cc: oracle-l_at_freelists.org
Subject: RE: is it possible to manufacture a query plan.

11.2.0.2
From: Niall Litchfield [mailto:niall.litchfield_at_gmail.com] Sent: Thursday, February 23, 2012 10:33 AM To: Dustin Hayden
Cc: oracle-l_at_freelists.org
Subject: Re: is it possible to manufacture a query plan.

Which Oracle version and edition?
On Thu, Feb 23, 2012 at 3:25 PM, Dustin Hayden <DHayden_at_sprich.com<mailto:DHayden_at_sprich.com>> wrote: I have a query that can't be modified. It is a vendor supplied query. Since I can't change the query is there any way to do something like ... Hint the query and generate the query plan then somehow force the database to use this plan when the other non hinted query is run? Is there anyway do insert a query plan based on a hash id of another query?

Or any other way possible to force a similar result?

--

http://www.freelists.org/webpage/oracle-l

--

Niall Litchfield
Oracle DBA
http://www.orawin.info

--

http://www.freelists.org/webpage/oracle-l

This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates.

This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities.
--

http://www.freelists.org/webpage/oracle-l Received on Tue Mar 13 2012 - 06:34:14 CDT

Original text of this message