Database Tuning (MOSC)

MOSC Banner

Help needed to understand the message and tune the query which is causing high cpu/io

edited Aug 28, 2012 10:40PM in Database Tuning (MOSC) 4 commentsAnswered


I see this message in the  OEM sql advisor recommendation :- The optimizer could not merge the view at line ID 2 of the execution plan

the sql which is causing high cpu/io is, how to go about finding what is the issue and fine tune this?

SELECT *
FROM
(SELECT /*+FIRST_ROWS(10)*/ *
FROM VERIWISE.TB_EXT1_EVENT A
WHERE A.IS_PROCESSED = 'N' AND A.DEVICE_ID = :B1 ORDER BY 1)
WHERE ROWNUM <= GET_PARAMETER('PKG_GSMD200_MESSAGE_DISPATCHER', 'EVENTS_LIMIT')

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