Database Tuning (MOSC)

MOSC Banner

SQL execution does not change, but consistent read get higher in our test enviroment

edited May 18, 2011 5:52PM in Database Tuning (MOSC) 2 commentsAnswered
 Hi,     Our SQL query execution does not change, but consistent reads get higher in our test enviroment but query looks fine in our development and production environments.
    
    
In the Development instance  the trace is:
STAT #18446744071526492680 id=1 cnt=1 pid=0 pos=1 obj=7151 op='TABLE ACCESS BY INDEX ROWID MEMBER_CMS_SITE_ACCESS (cr=4 pr=0 pw=0 time=153 us cost=3 size=68 card=1)'
STAT #18446744071526492680 id=2 cnt=1 pid=1 pos=1 obj=7152 op='INDEX UNIQUE SCAN MEMBER_SITE__MEMBERID_SITEID (cr=3 pr=0 pw=0 time=104 us cost=2 size=0 card=1)'
So - we read 3 blocks from the index and then 1 from the table ( to make 4)


In the Test  instance  the trace is:

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