Oracle中查询被锁定的表select --l.*,o.owner object_owner, o.object_Name,mac.status,mac.oSUSEr,mac.machine
trunc(l.ctime/60,0) mm,(l.ctime/60-trunc(l.ctime/60,0))*60 ss,
l.sid,mac.SERIAL# serial,l.type,mac.osuser,mac.machine,mac.USERNAME user_, o.object_Name,mac.status,mac.logon_time,mac.program
--,mac.*,o.*
from (select l.* from v$lock l where l.type = "TM") l,
sys.all_objects o, sys.v_$session mac
where l.id1 = o.object_id
and l.sid = mac.sid
--and o.object_name = "SHOP_BACK_ARRANGE_TAB"
order by mac.machine,mm*60+ss; Oracle进程无法KILL处理方案Oracle 获取表的包含约束的结构信息相关资讯 Oracle教程
- Oracle中纯数字的varchar2类型和 (07/29/2015 07:20:43)
- Oracle教程:Oracle中查看DBLink密 (07/29/2015 07:16:55)
- [Oracle] SQL*Loader 详细使用教程 (08/11/2013 21:30:36)
| - Oracle教程:Oracle中kill死锁进程 (07/29/2015 07:18:28)
- Oracle教程:ORA-25153 临时表空间 (07/29/2015 07:13:37)
- Oracle教程之管理安全和资源 (04/08/2013 11:39:32)
|
本文评论 查看全部评论 (0)