这篇文章主要介绍了如何解决当删除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进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。