Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Hash join not being used
Look for the statistics and histograms on the involved tables.
I hope u have'nt upgraded your database version or parameters in init.ora
Hope it helps.
Sanjeev
-----Original Message-----
From: Dan.Hubler_at_midata.com [mailto:Dan.Hubler_at_midata.com]
Sent: Monday, June 26, 2000 10:16 AM
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:59:13 CDT