Oracle中查询被锁定的表 select --l.*,o.owner object_owner, o.object_Name,mac.status,mac.oSUSEr,mac.machine trunc(l.
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;

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号