RE: HELP! Index Debate!

2003-08-14 Thread Henry Poras
Interesting analysis. Thanks. Henry -Original Message- Wolfgang Breitling Sent: Monday, August 04, 2003 11:49 PM To: Multiple recipients of list ORACLE-L Yes, the index can be used, but only the portion up to the first missing column, or a column where the predicate is not an equal

Re: HELP! Index Debate!

2003-08-14 Thread Wolfgang Breitling
Yes, the index can be used, but only the portion up to the first missing column, or a column where the predicate is not an equal predicate, is used. Those are so-called access predicates. The remaining predicates are resolved after the row is fetched from the datablock - a so-called filter

Re: HELP! Index Debate!

2003-08-04 Thread Tanel Poder
Wolfgang, as long as the leading columns are present in the where clause with an equal predicate, the index can be used. The first omission or non-equal predicate breaks the chain and only the part of the index up to that column can be used. Could you please elaborate what you meant by that?

RE: HELP! Index Debate!

2003-07-31 Thread Smith, Ron L.
Please help resolve this dispute. We have a query that runs over 5 hours. Sections of the query are listed below. The table QOH_DAY_FACT table had only on index and that was on the TIME_ID column. I propose adding an index with PROD_ID, WHS_ID, LOT_ID, WHS_LOC, TIME_ID and QUALITY_ID. My

RE: HELP! Index Debate!

2003-07-31 Thread Jamadagni, Rajendra
Title: RE: HELP! Index Debate! How does one know that only one column is being used in an index and others are being ignored ... ?? This is new to me. Raj Rajendra dot Jamadagni at nospamespn dot com All Views

RE: HELP! Index Debate!

2003-07-31 Thread Smith, Ron L.
Title: Message No answer for that. -Original Message-From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 3:44 PMTo: Multiple recipients of list ORACLE-LSubject: RE: HELP! Index Debate! How does one know that only one column is being used

RE: HELP! Index Debate!

2003-07-31 Thread Ron Rogers
Ron, It has been my understanding that in order for the conpound index to be used the query had to match the order the index was created. Multiple indexes would not do a whole lot of good for you just make the optmizer work harder to figure things out. It would add a confusion factor other wise

RE: HELP! Index Debate!

2003-07-31 Thread Jamadagni, Rajendra
can have facts, having an opinion is an art ! -Original Message-From: Smith, Ron L. [mailto:[EMAIL PROTECTED]Sent: Thursday, July 31, 2003 4:49 PMTo: Multiple recipients of list ORACLE-LSubject: RE: HELP! Index Debate! No answer for that. -Original Message

RE: HELP! Index Debate!

2003-07-31 Thread Smith, Ron L.
ORACLE-LSubject: RE: HELP! Index Debate! do you have corresponding indexeson referenced columns on T1-5 tables ?? Raj Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email

RE: HELP! Index Debate!

2003-07-31 Thread Wolfgang Breitling
Provided we are talking cost based optimizer, then the order of the predicates in the where clause does not matter - except under very rare conditions to break a tie. Nor is the order of the predicates in the where clause related to the order of the columns in the index. The only thing that

RE: HELP! Index Debate!

2003-07-31 Thread Smith, Ron L.
Thank you very much for the detailed info! Ron -Original Message- Sent: Thursday, July 31, 2003 5:09 PM To: Multiple recipients of list ORACLE-L Provided we are talking cost based optimizer, then the order of the predicates in the where clause does not matter - except under very rare