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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: which should be faster

Re: which should be faster

From: Djordje Jankovic <djordjej_at_rogers.com>
Date: Sat, 03 May 2003 08:11:39 -0800
Message-ID: <F001.0058ED31.20030503081139@fatcity.com>


"the predicate order can make a difference" - does oracle (of course if it does not have a better clue) analyze predicates in a certan order: bottom-up, or top-down, similar as for the FROM clause ? you said "under oracle 8" - including 8i ?

Thanks.

Djordje

>
> Did you also test with index compression in place
> on the organization column ?
>
> If your tests were:
> organization = 'XXX'
> and inv_date between ....
>
> did you also test
> inv_date between ....
> and organization = 'XXX'
>
> Under Oracle 8, the predicate order
> can make a difference - although in
> this case I don't think you would see
> much difference, as neither predicate
> is an eliminator at the filter level.
>
>
> Regards
>
> Jonathan Lewis
> http://www.jlcomp.demon.co.uk
>
> The educated person is not the person
> who can answer the questions, but the
> person who can question the answers -- T. Schick Jr
>
>
> One-day tutorials:
> http://www.jlcomp.demon.co.uk/tutorial.html
>
> ____Denmark__May 21-23rd
> ____Sweden___June
> ____Finland__September
> ____Norway___September
>
> Three-day seminar:
> see http://www.jlcomp.demon.co.uk/seminar.html
> ____UK_(Manchester)_May x 2
> ____Estonia___June (provisional)
> ____Australia_June (provisional)
> ____USA_(CA, TX)_August
>
> The Co-operative Oracle Users' FAQ
> http://www.jlcomp.demon.co.uk/faq/ind_faq.html
>
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: 02 May 2003 22:31
>
>
> > Actually I found a note on tom kyte's book(expert one on one) that
> it
> > shouldn't matter weather u index c1,c2 or c2,c1 . Although my
> scenerio is
> > not exact . But its kinda similer . I did a little testing and found
> that
> > just invdate is faster compare to org , indate .
> >
> > Thanks ,
> > -ak
> >
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Jonathan Lewis
> INET: jonathan_at_jlcomp.demon.co.uk
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Djordje Jankovic
  INET: djordjej_at_rogers.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat May 03 2003 - 11:11:39 CDT

Original text of this message

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