查询锁表进程:select a.username,a.sid,a.serial#,b.id1,c.sql_text from v$session a,v$lock b,v$sqltext c
where a.lockwait=b.kaddr and a.sql_address=c.address and a.sql_hash_value=c.hash_value;
解 锁:alter system kill session 'sid,serial#';