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: why so much slower

RE: why so much slower

From: <Paula_Stankus_at_doh.state.fl.us>
Date: Thu, 06 Jun 2002 08:38:31 -0800
Message-ID: <F001.0047646C.20020606083831@fatcity.com>


Tried that

-----Original Message-----
Sent: Wednesday, June 05, 2002 7:19 PM
To: Multiple recipients of list ORACLE-L

Why don't you try using a leading or ordered hint to get oracle to use the smaller table first?

>From: Paula_Stankus_at_doh.state.fl.us
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: why so much slower
>Date: Wed, 05 Jun 2002 12:18:45 -0800
>
>more info. It seemed just when I went from two to three tables in a join
>there was a very substantial increase in elapsed time. I did join with one
>large table and small codetable alone and performed like a champ. Hmmmm.
>Any ideas?
>
>-----Original Message-----
>Sent: Wednesday, June 05, 2002 3:03 PM
>To: 'ORACLE-L_at_fatcity.com'
>
>
>
>Set sort_area_size to very large as 20Gb (obscene) amount of space
>available.
>Doing 2 large table outer joins returns results in .341 seconds - both
>partitioned on same criteria
>added one small codetable equijoin with one of the larger tables. There is
>a foreign key to codetable and index that is unique.
>Used hash join hint
>Used nested loop hint
>
>Basically saw two large joins sort merged hash join then nested join to
>smaller table - much much smaller codetable.
>
>NO matter what it seems query is much much slower - Any ideas?
>
>
>



Chat with friends online, try MSN Messenger: http://messenger.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mike Killough
  INET: mwkillough_at_hotmail.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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Paula_Stankus_at_doh.state.fl.us

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 Thu Jun 06 2002 - 11:38:31 CDT

Original text of this message

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