-- who is querying via dblink? -- Courtesy of Tom Kyte, via Mark Bobak -- this script can be used at both ends of the database link -- to match up which session on the remote database started -- the local transaction -- the GTXID will match for those sessions -- just run the script on both databases 脚本分为 9I及以下版本和 10g及以上版本。
-- for 9I and below
-- who is querying via dblink?
-- Courtesy of Tom Kyte, via Mark Bobak
-- this script can be used at both ends of the database link