ORA-00054异常

导入数据发现还没开始导入,就抛了个异常ORA-00054的异常,resource busy and acquire with NOWAIT specified,其实这里说的就是你现在操作的资源已经被占用没释放,排查了一下原来是因为第一次导入数据发生异常直接关闭导入程序,没有commit导致资源被锁,以下是解决办法:

select object_name as 对象名称,s.sid,s.serial#,p.spid as 系统进程号
from v$locked_object l , dba_objects o , v$session s , v$process p
where l.object_id=o.object_id and l.session_id=s.sid and s.paddr=p.addr;

alter system kill session 'sid值,serial';



参考链接:http://yaojialing.iteye.com/blog/760204

你可能感兴趣的:(Blog)