RE: Different Plans for Literal Vs Bind Variables
- From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
- To: "oraseeker@xxxxxxxxx" <oraseeker@xxxxxxxxx>, Ian MacGregor <ian@xxxxxxxxxxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
- Date: Tue, 13 Jan 2009 09:31:34 -0700
Hi Karen, I think the OP said this query was coming from Peoplesoft so he couldn't change it - that eliminates the options of using literals or hints and leaves him with either a stored outline or SQL profile or modifying the view and then dealing with any side effects that may have for other queries that use the same view. I think the million dollar question here is - why is the CBO using the default 5% selectivity? Why isn't it calculating the selectivity based on the peeked bind value like it's supposed to? Regards, 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.
- Follow-Ups:
- Re: Different Plans for Literal Vs Bind Variables
- From: Alberto Dell'Era
- Re: Different Plans for Literal Vs Bind Variables
- References:
- Re: Different Plans for Literal Vs Bind Variables
- From: Karen Morton
- Re: Different Plans for Literal Vs Bind Variables
- From: Karen Morton
- Re: Different Plans for Literal Vs Bind Variables
Other related posts:
- » Different Plans for Literal Vs Bind Variables - Ian MacGregor
- » RE: Different Plans for Literal Vs Bind Variables - Allen, Brandon
- » Re: Different Plans for Literal Vs Bind Variables - Ian MacGregor
- » RE: Different Plans for Literal Vs Bind Variables - Allen, Brandon
- » Re: Different Plans for Literal Vs Bind Variables - Ian MacGregor
- » RE: Different Plans for Literal Vs Bind Variables - Mark W. Farnham
- » Re: Different Plans for Literal Vs Bind Variables - Ian MacGregor
- » Re: Different Plans for Literal Vs Bind Variables - Wolfgang Breitling
- » Re: Different Plans for Literal Vs Bind Variables - Karen Morton
- » Re: Different Plans for Literal Vs Bind Variables - Ian MacGregor
- » RE: Different Plans for Literal Vs Bind Variables - Goulet, Richard
- » Re: Different Plans for Literal Vs Bind Variables - Karen Morton
- » RE: Different Plans for Literal Vs Bind Variables - Allen, Brandon
- » Re: Different Plans for Literal Vs Bind Variables - Ian MacGregor
- » Re: Different Plans for Literal Vs Bind Variables - Alberto Dell'Era
- » RE: Different Plans for Literal Vs Bind Variables - Allen, Brandon