EBS Customizations (MOSC)

MOSC Banner

Compound Index on a DFF field + standard field on apps base tables

edited Sep 18, 2015 5:52AM in EBS Customizations (MOSC) Question

Dear Experts,

One of my queries on Projects table is running extremely slow and the reason I found is that in the query there is a business reason for using NVL(attribute9, original_transaction_reference) in the where clause.  Though Original_transaction_reference is already indexed by Oracle, because attribute9 is not being indexed the query is not running optimally. 

Query:

select * from apps.pa_expenditure_items_all where nvl(attribute9, orig_transaction_reference)='2od0n7g0aa20015000030ag19l';

Explain Plan

Plan
SELECT STATEMENT  ALL_ROWS
Cost: 224,397  Bytes: 42,440,929  Cardinality: 101,291  
  1 TABLE ACCESS FULL TABLE PA.PA_EXPENDITURE_ITEMS_ALL Cost: 224,397  Bytes: 42,440,929  Cardinality: 101,291  

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