SQL Performance (MOSC)

MOSC Banner

SQL tunning

edited Dec 29, 2013 11:57PM in SQL Performance (MOSC) 11 commentsAnswered
Hi 
Following SQL runs about 8 hours in the database and it is extremely slow when compared with the required speed. 

Can you give some suggestions to improve this please?

SELECT ces.EVENT_SOURCE||'|'||acc.account_num ||'|'|| sub.subscription_id||'|'|| pk.package_name||'|'|| TO_CHAR(chpk.st
art_dat,'ddmmyyyy')
FROM CUSTEVENTSOURCE ces,CUSTHASPRODUCT chpr,CUSTHASPACKAGE chpk,PACKAGE pk,CATALOGUECHANGE cat,ACCOUNT acc, MBTL_SUBSC
RIPTIONINFO sub 
WHERE (ces.CUSTOMER_REF =chpr.CUSTOMER_REF AND ces.EVENT_TYPE_ID=1 )  
AND (chpk.CUSTOMER_REF=chpr.CUSTOMER_REF AND chpr.PRODUCT_SEQ=ces.product_seq AND chpr.PACKAGE_SEQ=chpk.PACKAGE_SEQ AND

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center