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!

How to get sql_id from SCN or RECID

1061793Dec 23 2013 — edited Dec 24 2013

Hi all,

I am a newbie and I was hoping to find some help here.

My issue is I found a lag in my golden gate extract process. From ggserr.log I found the XID/SCN for the long running transaction. But by the time I tried to query v$transaction the transaction is finished.

Now I want to find out what the long running transaction was. So from my understanding I thought some system view or views could help me find sql_id giving the SCN/RECID. But I am not sure how. So I am here. Please help.

And trying to search for the same, I found people suggesting to use AWR report to find out. But I think AWR is based on the system views. So why use awr when I can use a simple query.

Thanks for helping

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 21 2014
Added on Dec 23 2013
3 comments
1,319 views