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: Cause for explain plan differences? - probably a basic question

Re: Cause for explain plan differences? - probably a basic question

From: Mogens Nørgaard <mno_at_MiracleAS.dk>
Date: Mon, 11 Jun 2001 02:17:52 -0700
Message-ID: <F001.00323DBD.20010611014558@fatcity.com>

Exactly. If you don't have stats on the tables, CHOOSE means RULE, ie no COST.

If, on the other hand, you have stats on at least one of the involved tables, CHOOSE means cost-based, and more specifically it means ALL_ROWS, which is usually not what you want.

Vladimir Begun wrote:

> On Jun 10, 2001 at 11:30:23PM, Szecsy Tamas wrote:
> > Hi,
> >
> > I have two database instances 816SE and 817EE on WinNT. For the same query I
> > get different result as follows (optimizer_mode=CHOOSE).
>
> Did you analyze the tables?
>
> --
> Vladimir Begun | Stability is often more correct than
> http://vbegun.net/ | correctness.
> http://vbegun.net/wap/ | -- Larry Wall in
> me_at_vbegun.net | <199904211608.JAA20737_at_kiev.wall.org>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Vladimir Begun
> INET: jester_at_whale.sunbay.crimea.ua
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).

--
Venlig hilsen

Mogens Nørgaard

Technical Director
Miracle A/S, Denmark
Web: http://MiracleAS.dk
Mobile: +45 2527 7100


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mogens =?iso-8859-1?Q?N=F8rgaard?=
  INET: mno_at_MiracleAS.dk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Jun 11 2001 - 04:17:52 CDT

Original text of this message

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