×

Loading...

You can kill the session which caused the lock use the command ALTER SYSTEM KILL SESSION 'sid,serial#'

laotang (laotang)
You can get the SID from v$locked_objects,then get SERIAL# from V$SESSION;
If you want to know which table is locked,query V$LOCKED_OBJECTS,
you can get OBJECT_ID, then query DBA_OBJECTS, you can get the table name.
Good Luck!
(#254610@0)
2001-11-9 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 请教ORACLE问题,我的JAVA程序需要做一个TRANSACTION,在我COMMIT之前程序CRASH了。有没有SQL*PLUS的指令可以UNLOCK那个被由于需要TRANSACTION被LOCK的TABLE?(我现在只能重新启动ORACLE)

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论