ITPub博客

首页 > 数据库 > Oracle > 通过进程找sql

通过进程找sql

原创 Oracle 作者:czxin788 时间:2021-12-06 14:37:42 0 删除 编辑

通过进程找sql

select p.spid,s.machine,s.username,s.sid,s.serial#,s.status
from v$session s,v$process p
where s.sid in (select sid from v$session where username is not null) and s.paddr=p.addr;


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28916011/viewspace-2845974/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-06-03

  • 博文量
    233
  • 访问量
    858453