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
> [EMAIL PROTECTED]                |       <[EMAIL PROTECTED]>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Vladimir Begun
>   INET: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to