Database Administration (MOSC)

MOSC Banner

Where IN

edited Jun 4, 2014 3:21PM in Database Administration (MOSC) 3 commentsAnswered ✓

Hi,

on 11.2.0.3 I have the following queries with different execution time.

This one only 0.09 second :

select owner, object_type, object_name, data_object_id from dba_objects DBO, v$session_event SE, v$session S

where DBO.object_id=S.row_wait_obj# and SE.sid=S.SID and SE.event='db file sequential read' and S.row_wait_obj# !=-1

And the following 72 seconds :

select owner, object_type, object_name, data_object_id

from dba_objects

where object_id in (select row_wait_obj#

from v$session where sid in (select sid from  v$session_event

  WHERE event='db file sequential read'

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