ORA-00054: 資源正忙,要求指定 NOWAIT
今天往一個表裡面多增加了兩個欄位,修改完畢,儲存的時候,提示如下內容:“資源正忙,要求指定nowait”。重試好幾遍,都沒有解決,於是搜尋了一下,找到了解決方法,如下:
首先執行下面一段程式碼,得到鎖定的程式:
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select
t1.sid, t1.serial#, t1.username, t1.logon_time
from v$session t1 , v$locked_object t2
where t1.sid = t2.session_id
order by t1.logon_time;
t1.sid, t1.serial#, t1.username, t1.logon_time
from v$session t1 , v$locked_object t2
where t1.sid = t2.session_id
order by t1.logon_time;
可以得到程式的SID和SERIAL#序號,然後按照下列語句解鎖:
alter system kill session 'sid,serial#';
即可,這裡我們輸入:
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->alter system kill session '3332,41117#';
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23577591/viewspace-694479/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何解決ORA-00054資源正忙,要求指定NOWAITAI
- oracle之報錯:ORA-00054: 資源正忙,要求指定 NOWAITOracleAI
- oracle錯誤處理之ORA-00054:資源正忙,要求指定NOWAITOracleAI
- Oracle資源正忙,要求指定NOWAIT——Oracle解鎖問題OracleAI
- ora-00054: 資源正忙, 但指定以 nowait 方式獲取資源如何解決AI
- ORA-00054: 資源正忙, 但指定以 NOWAIT 方式獲取資源, 或者超時失效AI
- ORA-00054:resource busy and acquire with nowaitUIAI
- ORA-00054: resource busy and acquire with NOWAITUIAI
- ORA-00054: resource busy and acquire with NOWAIT specifiedUIAI
- ora-00054:resource busy and acquire with nowait specifiedUIAI
- ORA-00054,ORA-00031 resource busy and acquire with NOWAIT 資源佔用處理過程UIAI
- ORA-00054: resource busy and acquire with NOWAIT specified處理UIAI
- ora-00054:resource busy and acquire with nowait specified解決方法UIAI
- "ORA-00054 resource busy and acquire with NOWAIT specified"的解決方法UIAI
- meta檔案裡指定資源
- ora-00054 表被lock導致資源忙等待不能操作案例
- 匯入資料時遇見ORA-00054
- Oracle 資料庫執行提示:ORA-00054Oracle資料庫
- Xamarin.Forms中為WebView指定資料來源SourceORMWebView
- select for update nowaitAI
- for update和for update nowaitAI
- FOR UPDATE NOWAIT和 FOR UPDATEAI
- 複製指定源位置的多級資料夾下所有檔案到指定目標位置
- 資料庫字元的要求資料庫字元
- oracle ora-00054錯誤處理Oracle
- DBA資料庫管理員要求資料庫
- 為容器指定cpu和記憶體資源(k8s官翻)記憶體K8S
- mysql innodb之select for update nowaitMySqlAI
- Oracle中的for update 和 for update nowaitOracleAI
- 【Oracle】ORA-00054 錯誤解決方法Oracle
- ORA-00054 故障處理一例
- ORA-00054錯誤解決方案(摘)
- ORA-00054 解決方法其中 1 例.
- Oracle wait interface - ORA-00054: resource busyOracleAI
- C# 按鈕影像指定本地資源後提示“未能找到任何適合於指定的區域性或非特定區域性的資源”的解決辦法C#
- 關於 select ... for update 和 for update nowaitAI
- 【oracle 殺死繁忙程式 ORA-00054】實驗Oracle
- ora-00054 , alter system kill session 'id,serial#'Session