Lisa,
This is my explain plan:
1.19 SELECT STATEMENT SQL1 Cost = 19
2.1 SORT GROUP BY
3.1 HASH JOIN
4.1 TABLE ACCESS FULL OPERS_CNTR_CDE
4.2 HASH JOIN
5.1 TABLE ACCESS FULL FEE_TYP
5.2 HASH JOIN
6.1 MERGE JOIN CARTESIAN
7.1 TABLE ACCESS FULL RECM
7.2 SORT JOIN
8.1 TABLE ACCESS FULL MDB_DEPT
6.2 TABLE ACCESS FULL CNCL_FEE
The two dim tables in the Cartesian join step are
very small - 2 and 3 records. The fact table -
CNCL_FEE is about 4000 rows.
Gene
- "Koivu, Lisa" <lisa.koivu_at_efairfield.com> wrote:
> Gene, what's the next step in the explain plan? Can
> you post it?
> Are the dimension tables small?
>
> Lisa Koivu
> Oracle Database Tank.
> Fairfield Resorts, Inc.
> 954-935-4117
>
>
> > -----Original Message-----
> > From: Gene Gurevich
> [SMTP:g_u_r_e_v_i_c_h_at_yahoo.com]
> > Sent: Tuesday, March 26, 2002 4:26 PM
> > To: Multiple recipients of list ORACLE-L
> > Subject: odd explain plan
> >
> > Hi.
> >
> > I am tuning a query that runs against a star
> schema
> > and a few dimension tables. The plan shows that
> the
> > first step is two join two dimension tables via a
> > cartesian join. Why would Oracle does that instead
> of
> > joining the dimensions to the fact table one after
> > another? Can anyone offer an explanation?
> >
> > thank you
> >
> > =====
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Movies - coverage of the 74th Academy
> Awards®
> > http://movies.yahoo.com/
> > --
> > Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> > --
> > Author: Gene Gurevich
> > INET: g_u_r_e_v_i_c_h_at_yahoo.com
> >
> > 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).
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Gene Gurevich
INET: g_u_r_e_v_i_c_h_at_yahoo.com
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 Wed Mar 27 2002 - 08:28:21 CST