Database Tuning (MOSC)

MOSC Banner

gv$session_longops and running queries

edited Feb 5, 2018 4:02AM in Database Tuning (MOSC) 4 commentsAnswered

I'm a little bit confused about gv$session_longops

the TIME_REMAINING is mostly zero for all operations, even though I have a long running query

Also, the query that is taking up the most time does not show up

is there any view for long runnig queries or am I missing something?

select *

from gv$session_longops

where sql_id = '23q8rww8a7jsy';

No Rows

yet query ID is runing

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