How can I identify the rows involved in an Oracle deadlock?

岁酱吖の 提交于 2019-11-29 13:44:46

I found the answer:

  1. The number after dictionary objn can be used to select out of DBA_objects.

    SELECT owner, object_name, object_type 
    FROM dba_objects 
    WHERE object_id = 217431;
    
  2. Once the table is identified, the row can be found using the rowid:

    SELECT * 
    FROM table_found_above 
    WHERE rowid = 'AAA1FXAAxAAASfLAAn';
    

If the trace file says that there are no "Rows waited on" this technique will not work. The problem may be due to an unindexed foreign key.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!