Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Longops in Oracle

936712Sep 6 2012 — edited Sep 9 2012
Hi,

I'm using Toad For Oracle and I have found - what I think is - a way to see the longest running operations made recently in our database.
The tab is called longops (found in the Session Browser ). Here Toad gives me a list of
long running operations. In the listing (which I can sort by time taken) I see quite a few full table scans together
with the time taken for each scan.

My first question is - can I trust Toad on this?

The items in the list looks something like:
FULL TABLE SCAN ON <table name>            40 sec.                 2012-04-12  12:00:00            56000 out of 56000 blocks done
My second question is - what SQL can I use to generate this output?

In Toad - I need to click on a session (user) and then I get the statistics for that session (user).
I would like to get the statistics for all the recent sessions (users).

/best regards, HÃ¥kan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2012
Added on Sep 6 2012
8 comments
4,895 views