ORA:00054 处理

ORA-00054: resource busy and acquire with NOWAIT specified
对于这个问题解决,可以有两种方式:
1)COMMIT or ROLLBACK will release locks of the current user
2)If its really locked and the commit suggestions don't work, get the SID and
SERIAL# fields from v$session and issue a ALTER SYSTEM KILL SESSION command.
This sometimes takes a while as Oracle has some cleaning up to do, but the
object is eventually freed.
对于第二种方法,需要补充,执行步骤如下:
a、以sysdba身份登陆数据库,connect ***/***@*** as sysdba
b、从视图v$session中查找状态为inactive的SID,select status, sid, serial# from v$session
c、使用命令kill状态为inactive的session,alter sysmen kill session '<sid>,<serial>'
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值