如何解决当删除oracle数据库user时发生rowcachelock等待事件
这篇文章主要介绍了如何解决当删除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等待事件”这篇文章对大家有帮助,同时也希望大家多多支持创新互联,关注创新互联行业资讯频道,更多相关知识等着你来学习!
网页标题:如何解决当删除oracle数据库user时发生rowcachelock等待事件
文章起源:http://scyanting.com/article/jedigh.html