Oracle中遇到“ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效”
存在锁定该表的会话,执行如下查询:SELECTsid,serial#,username,osuserFROMv$sessionwheresidin(selectsession_idfromv$locked_object);--kill掉相关的会话597是SID值,1171是SERIAL#值ALTERSYSTEMKILLSESSION'597,1171';报错ora-00030,执行selectsp