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: Hash join not being used

RE: Hash join not being used

From: Diane Whitehead <Diane.Whitehead_at_palmerharvey.co.uk>
Date: Mon, 26 Jun 2000 14:46:16 +0100
Message-Id: <10540.110408@fatcity.com>


If your optimizer is set to cost based and the tables concerned have been analyzed between the change in execution plan, that could account for the alteration.

> -----Original Message-----
> From: Dan.Hubler_at_midata.com [SMTP:Dan.Hubler_at_midata.com]
> Sent: Monday, June 26, 2000 3:16 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Hash join not being used
>
>
> We have a query that is a good candidate for a hash-join operation.
> As a matter of fact, when we force it to use a hash-type join (with a
> hint), the
> elapsed time of the query goes from 90 minutes to about 2 minutes.
>
> However, we are unable to force it to use a hash-join, without using the
> hint.
>
> What perplexes us is that a month ago, the query was using a hash-join on
> its
> own, without our intervention.
>
> Any clues as to why the optimizer would change its mind and stop using a
> hash-join?
>
>
>
> --
> Author:
> INET: Dan.Hubler_at_midata.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 Mon Jun 26 2000 - 08:46:16 CDT

Original text of this message

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