Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: View HELP Please!
Freeman Robert - IL,
Hi, can you show us the different execution path for the view and the sql? I think that is the key to solve the performance problem?Maybe hint like no_merge help?
Regards
zhu chao
msn:chao_ping_at_163.com
www.happyit.net
www.cnoug.org(China Oracle User Group)
>I'm fighting a view.... Someone hand me a big dagger with which to kill it.
>I have a view that takes 6 minutes to run when I query it like this:
>
>select
>count(*) from TST_XVW a
>where claim_carrier_key=41721;
>
>Yet, if I take the SQL from the view, add the claim_carrier_key predicate to
>it, I get a run time of 6 seconds. I've tried several different hints
>(push_pred, use_nl, etc) and I'm just not seeming to be able to get the
>optimizer to give me a good plan. Any help on this would be appreciated.
>
>Robert
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: Freeman Robert - IL
> INET: FREEMANR_at_tusc.com
>
>Fat City Network Services -- 858-538-5051 http://www.fatcity.com
>San Diego, California -- Mailing list and web hosting services
>---------------------------------------------------------------------
>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.net -- Author: chao_ping INET: chao_ping_at_vip.163.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Wed Feb 12 2003 - 10:04:08 CST