Complex outer join query
Date: 3 Jan 2002 02:52:18 -0800
Message-ID: <ff428a25.0201030252.78164e74_at_posting.google.com>
The query didn’t return the respected result until we added the
hint use_nl. Very strange since nested loops should be slower then
hash join(?) Anyway this query takes 100 msecs so that is ok. But when
we are adding a search criteria from any other table then client for
instance
AND UPPER(A.SHORT_NAME) LIKE '1-7%'
then the performance is getting really bad. And it takes 6-7 minutes
to get the result. If I change the hint to use_hash in the second
query then the result takes 3 secs still slow but it also returns the
wrong result. I tried to add the ORDERED hint but it didn’t
help.
Does anyone have any suggestion about how to solve this problem? Is the search order incorrect, could we use an other hint or is it just not possible to do this?
Thanks in advance / Nisse Received on Thu Jan 03 2002 - 11:52:18 CET