您好,登錄后才能下訂單哦!
這篇文章主要介紹了如何解決當刪除oracle數據庫user時發生row cache lock等待事件,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
在oracle數據庫中做的動作如下:
drop user abc; hang住,等待事件為row cache lock
Hanganalyze 顯示
===============================================================================
Chains most likely to have caused the hang:
[a] Chain 1 Signature: 'enq: TT - contention'<='row cache lock' (cycle)
Chain 1 Signature Hash: 0x4a0d0d64
[b] Chain 2 Signature: 'row cache lock'<='row cache lock' (cycle)
Chain 2 Signature Hash: 0x75bdd0c
[c] Chain 3 Signature: 'row cache lock'<='row cache lock' (cycle)
Chain 3 Signature Hash: 0x75bdd0c
===============================================================================
Cycles:
-------------------------------------------------------------------------------
Chain 1:
-------------------------------------------------------------------------------
Oracle session identified by:
{
instance: 1 (uouk2oas.uouk2oas1)
os id: 15866
process id: 197, oracle@uklpdufms01a (DW05)
session id: 1193
session serial #: 29877
}
is waiting for 'row cache lock' with wait info:
{
p1: 'cache id'=0xa
p2: 'mode'=0x0
p3: 'request'=0x3
time in wait: 1.731862 sec
heur. time in wait: 1871 min 58 sec
timeout after: 1.268138 sec
wait id: 489490
blocking: 6 sessions
current sql: BEGIN
SYS.KUPW$WORKER.MAIN('SYS_IMPORT_FULL_08',
'SYS', 0);
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
END;
impdp 導入數據操作阻止了drop user 的操作,
解決方法:
1: 取消impdp導數操作
2:重新運行drop user操作
感謝你能夠認真閱讀完這篇文章,希望小編分享的“如何解決當刪除oracle數據庫user時發生row cache lock等待事件”這篇文章對大家有幫助,同時也希望大家多多支持億速云,關注億速云行業資訊頻道,更多相關知識等著你來學習!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。