Database Tuning (MOSC)

MOSC Banner

Query tuning

edited May 17, 2011 3:49AM in Database Tuning (MOSC) 6 commentsAnswered
  Hi,

Following query needs to be tuned. The query and its explain plan are given below. Although there are indexes on both the tables given in the query , the indexes are not used and full table access is done. Using Index hints increases the cost of query, considerably. Index details given below. Database : Oracle 10g

Please suggest.

SELECT XCD.SR_NUMBER,
XCD.TASK_NUMBER,
XCD.TASK_TYPE,
XCD.SR_TYPE,
XCD. CATEGORY ,
XCD. CLASS ,
XCD.PHASE,
XCD.SDO_CODE,
XBCD.RECEIPT_NUMBER,
XCD.CHARGE,
XCD.CHARGE_CATEGORY,
XCD.CHARGE_PAID_FLAG,
XCD.GPR_PPR_CATEGORY,
XCD.GEB_CATEGORY
FROM XXCRM_CHARGES_DETAILS XCD, XXBILL.XXBL_CHARGES_DETAILS XBCD

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