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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Find approximate completion time of the sql and hanging sessions

N_RajMay 19 2025

Hi All,

We have oracle 19c on Redhat.

When monitor long running sql, we usually use v$session where status='ACTIVE' and last_call_et , then we use the column last_activity_time in v$sql , whether it is moving or not.
then we use v$session_longops to find remaining time but some time v$session_longops, not showing approximate completion time.

How to find approximate completion time of the sql.
How to find a session in not moving/hanging.So. it can be killed.
How to find how much time is taken each operation in a sql as per the execution plan

How to monitor parallel query execution

Thanks

Comments
Post Details
Added on May 19 2025
2 comments
116 views