ORACLE-关于ORA-04021得解决办法(timeout occurred while waiting to lock object)
某个应用正在锁定该表或者包表为select b.SID,b.SERIAL#,c.SQL_TEXTfrom v$locked_object a, v$session b, v$sqlarea cwhere a.SESSION_ID = b.SIDand b.SQL_ADDRESS = c.ADDRESSand c.sql_text like '%table_name%'包
转载
2016-03-18 08:56:40 ·
1981 阅读 ·
0 评论