Database Administration (MOSC)

MOSC Banner

Finding open database links

edited Aug 6, 2009 7:03AM in Database Administration (MOSC) 1 commentAnswered ✓
Hello,
I need to find all sessions with open database links.   The closest thing I found via google is:

select
username,osuser,status,sid,serial#,machine,process,terminal,program, saddr
from   v$session
where  saddr in ( select k2gtdses from sys.x$k2gte );

But this doesn't show all sessions, just my various ones.

Thanks
Scott

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center