Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: why so much slower
RE: why so much slowerPaula,
Try to join partitioned tables inside in-line view (since you are saying, that performance of this join is ok), and add small codetable in "outer" select with NO_MERGE hint.
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
Tried that
-----Original Message-----
From: Mike Killough [mailto:mwkillough_at_hotmail.com]
Sent: Wednesday, June 05, 2002 7:19 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: why so much slower
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?
>
>
>
--
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: Igor Neyman INET: ineyman_at_perceptron.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 Thu Jun 06 2002 - 14:30:27 CDT