Created
June 26, 2013 06:07
-
-
Save sytkov/5865089 to your computer and use it in GitHub Desktop.
Oracle. Current session longops
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT s.username, | |
sl.sid, | |
sq.executions, | |
sl.last_update_time, | |
sl.sql_id, | |
sl.sql_hash_value, | |
opname, | |
target, | |
elapsed_seconds, | |
time_remaining, | |
sq.sql_fulltext | |
FROM | |
v$session_longops sl, v$sql sq, v$session s | |
where | |
sq.sql_id = sl.sql_id and | |
sl.SID = s.SID and | |
sl.serial# = s.serial# and | |
time_remaining > 0 | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment