1.先执行sql查询出被锁的对象
select object_name,machine,s.sid,s.serial#
from v$locked_object l,dba_objects o ,v$session s
where l.object_id = o.object_id and l.session_id=s.sid;
2.下面语句可以杀掉出问题的进程
alter system kill session '5,32425';-- (其中5,32425分别是上面查询出的sid,serial#
好了,问题解决。