Database Tuning (MOSC)

MOSC Banner

Query Taking a long time to run.

edited Jun 9, 2010 4:09PM in Database Tuning (MOSC) 5 commentsAnswered
 Hi,

In one of my reports I am using the following query which is looking at APPLSYS.WF_ITEM_ATTRIBUTE_VALUES table when the report runs for some record it takes around 2 hours to finish the report. would appreciate if any one can let me know how to tune this query. This table(APPLSYS.WF_ITEM_ATTRIBUTE_VALUES WAV ) has around 65.10 million records.

SELECT WAV.ITEM_KEY , WAV.TEXT_VALUE FROM APPLSYS.WF_ITEM_ATTRIBUTE_VALUES WAV
WHERE 1=1
AND WAV.ITEM_TYPE = 'APEXP'
AND WAV.NAME = 'APPROVER_DISPLAY_NAME'
AND WAV.ITEM_KEY = 1028592


Thanks in Advance. 

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