當(dāng)前位置: 首頁(yè)最新資訊 手機(jī)數(shù)碼 → oracle提示資源正忙怎么解決?oracle資源正忙解決方法

oracle提示資源正忙怎么解決?oracle資源正忙解決方法

更多

怎么解決ORA-00054資源正忙,要求指定NOWAIT這樣的問(wèn)題?以下是解決方法,為朋友們做個(gè)參考。

解決方法:

1、通過(guò)上句查找出已被鎖定的數(shù)據(jù)庫(kù)表及相關(guān)的sid、serial#及spid

select object_name as 對(duì)象名稱,s.sid,s.serial#,p.spid as 系統(tǒng)進(jìn)程號(hào)

from v$locked_object l , dba_objects o , v$session s , v$process p

where l.object_id=o.object_id and l.session_id=s.sid and s.paddr=p.addr;

oracle 10g 客戶端
5.0
類別: 網(wǎng)絡(luò)相關(guān)    大。35.1M    語(yǔ)言: 中文
查看詳細(xì)信息 >>

2、在數(shù)據(jù)庫(kù)中滅掉相關(guān)session

alter system kill session 'sid,serial#';--sid及serial#為第一步查出來(lái)的數(shù)據(jù)

分類: oracle

oracle某用戶下所有表

select * from dba_tables where owner in ('LIS');

或者當(dāng)前用戶

select * from user_tables;

熱門評(píng)論
最新評(píng)論
發(fā)表評(píng)論 查看所有評(píng)論(0)
昵稱:
表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
字?jǐn)?shù): 0/500 (您的評(píng)論需要經(jīng)過(guò)審核才能顯示)