?
Solved

Check Status of Oracle Query

Posted on 2009-06-29
3
Medium Priority
?
968 Views
Last Modified: 2012-05-07
Can anyone tell me how to check the status of a long running query (Oracle 10g)?
0
Comment
Question by:iBinc
  • 2
3 Comments
 
LVL 40

Assisted Solution

by:mrjoltcola
mrjoltcola earned 800 total points
ID: 24741550
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
 
LVL 40

Assisted Solution

by:mrjoltcola
mrjoltcola earned 800 total points
ID: 24741555
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 1200 total points
ID: 24742022
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to take different types of Oracle backups using RMAN.

592 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question