SQL Performance (MOSC)

MOSC Banner

Slow Query...

edited May 23, 2013 10:53PM in SQL Performance (MOSC) 3 commentsAnswered
Hi Folks,
This query usually takes 30 mins to 1hr to complete. However now it is taking more time to complete. I am not sure if index rebuilding will help.

Need some suggestion to tune this query.

select 
soi_service.row_id OrderLineID,
so.row_id OrderID,
REPLACE(soi_msisdn.service_num, '+', '') MSISDN,
decode(soi_service.net_pri,NULL,'0.00','0','0.00',LTRIM(to_char(soi_service.net_pri,'99999999.99'))) NetPrice,
decode(soi_service.discnt_amt,NULL,'0.00','0','0.00',LTRIM(to_char(soi_service.discnt_amt,'99999999.99'))) DiscountAmount,
so_x.attrib_34 Channel,

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