RE: Same index, different plan

From: Baumgartel, Paul <paul.baumgartel_at_credit-suisse.com>
Date: Fri, 4 Apr 2008 15:28:39 -0400
Message-ID: <21469B88E0EA11498818517F2103353101C661AB@EPRI17P32001A.csfb.cs-group.com>


Indeed, and thanks.

Paul Baumgartel
CREDIT SUISSE
Information Technology
Prime Services Databases Americas
One Madison Avenue
New York, NY 10010
USA
Phone 212.538.1143
paul.baumgartel_at_credit-suisse.com
www.credit-suisse.com

-----Original Message-----
From: Wolfgang Breitling [mailto:breitliw_at_centrexcc.com] Sent: Friday, April 04, 2008 3:24 PM
To: Baumgartel, Paul
Cc: mark.powell_at_eds.com; oracle-l
Subject: RE: Same index, different plan

because the index hint is synonymous with index_rs. Both request an index range scan - and the CBO obeyed the hint ! :-) If you want something else you have to say it: index_ffs or index_ss (for skip scan) and I think there are a few more.

At 12:27 PM 4/4/2008, Baumgartel, Paul wrote:
>All true, but the question is why a hint that says "use this index"
>produces a different type of scan than a query without the hint that
>uses the index anyway.
>
>
>Paul Baumgartel
>CREDIT SUISSE
>Information Technology
>Prime Services Databases Americas
>One Madison Avenue
>New York, NY 10010
>USA
>Phone 212.538.1143
>paul.baumgartel_at_credit-suisse.com
>www.credit-suisse.com
>

Regards

Wolfgang Breitling
Centrex Consulting Corporation
www.centrexcc.com



Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html


--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 04 2008 - 14:28:39 CDT

Original text of this message