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

Home -> Community -> Usenet -> c.d.o.server -> Re: Is Richard Niemiec Right

Re: Is Richard Niemiec Right

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Sun, 21 Sep 2003 14:25:23 +0100
Message-ID: <bkk8q6$8cs$1$8300dec7@news.demon.co.uk>

Comment in-line.

--
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

____Finland__September 22nd - 24th
____Norway___September 25th - 26th
____UK_______December (UKOUG conference)

Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____USA__October
____UK___November


The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html


"Mark D Powell" <Mark.Powell_at_eds.com> wrote in message
news:2687bb95.0309201634.79e14a35_at_posting.google.com...


> Joe, what version of Oracle did you do your testing on. In the past
> from version 7 and up and including 8.1.7.4 I have observed
optimizer
> plan changes from rearranging my queries.
This is possible, but statistically a little unlikely when using only three tables. But arithmetical errors in earlier versions of the optimizer would increase the chances of the problem showing up. In a 'tie-break' for the first join order, Oracle will use the order of the tables in the FROM list. When examining join orders, the latest join order is only accepted if it is BETTER than the previous best. So if you get a join cost on N tables which is the same, then the one that came later in the permutation list will be ignored - but its position in the list (the point at which is gets examined) is determined by the first join order, which is (as noted above) affected by the original FROM clause order.
Received on Sun Sep 21 2003 - 08:25:23 CDT

Original text of this message

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