oracle 会话 死锁 执行sql 执行job的方法

上传:jjyingyao 浏览: 28 推荐: 0 文件:PDF 大小:46.14KB 上传时间:2020-12-17 13:46:53 版权申诉
//根据用户分组会话 select t.USERNAME,count(*) from v$session t group by t.USERNAME //查找某一用户正在执行的sql_id值 select * from v$session t where t.USERNAME = 'BUDGET' and t.SQL_ID is not null //查找对应sql_id的对应sql语句 select m.SQL_TEXT from v$session t , v$sqlarea m where t.USERNAME ='BUDGET' and t.sql_id = m.SQL_ID // s
上传资源
用户评论