Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 972
  • Last Modified:

Check Status of Oracle Query

Can anyone tell me how to check the status of a long running query (Oracle 10g)?
0
iBinc
Asked:
iBinc
  • 2
3 Solutions
 
mrjoltcolaCommented:
You can start with the V$SESSION_LONGOPS view

You can join it against the V$SQL view to get the text of the query.
0
 
sdstuberCommented:
what type of status are you looking for?  

you can try something like this if you want to see what the query's session is waiting on.

SELECT   s.sid, sw.event
  FROM   v$session s, v$session_wait sw
 WHERE   sw.sid = s.sid
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now