Skip to content

Instantly share code, notes, and snippets.

@jzi96
Created July 11, 2014 13:38
Show Gist options
  • Save jzi96/b83ea18f96986fd67cd5 to your computer and use it in GitHub Desktop.
Save jzi96/b83ea18f96986fd67cd5 to your computer and use it in GitHub Desktop.
Query Oracle long running operations
select * from v$session_longops
where last_update_time > trunc(sysdate)
order by start_time desc;
select trunc(start_time), count(*)
from v$session_longops
group by trunc(start_time)
order by trunc(start_time);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment