Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Explain Plan Hangs. DBA on 3 week holiday, and his name is Murphy!

Explain Plan Hangs. DBA on 3 week holiday, and his name is Murphy!

From: Patrick Mullen <Patrick.Mullen_at_wfp.org>
Date: Mon, 24 Jul 2000 13:38:15 +0200
Message-Id: <10568.112739@fatcity.com>


I have a query which did nothing over the entire weekend. When I try to see what it is doing the explain plan hangs. So now I understand (I think) why the query does nothing - oracle doesn't even manage to get past the query optimizer or whatever it is that does the query plans.

No errors or anything, it just sits there for days...

Oracle 8.0.5.0.0 running on NT4 sp3.

Removing a single column from the results set changes everything. Though this column is in a table from which other columns are already returned, so it is difficult to understand why it should change the explain plan!!! For example (this is an example the full sql is a bit bigger):

select sum(trans_amt),account_code,rcpt.short_dsc,rcpt.region from glm ,rcpt
where glm.rcpt_code = rcpt.rcpt_code
group by
account_code,rcpt.short_dsc,rcpt.region

wont work, but if I remove rcpt.region from the sql it works fine.

What's the deal here then?.

Thanks

PAtrick Mullen

Data Warehouse Officer
United Nations World Food Programme Received on Mon Jul 24 2000 - 06:38:15 CDT

Original text of this message

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