ITPub博客

首页 > Linux操作系统 > Linux操作系统 > how to resolve performance issue caused by locks

how to resolve performance issue caused by locks

原创 Linux操作系统 作者:zhangyingjie201 时间:2013-02-04 19:43:28 0 删除 编辑
please refer to this following article,
 
 
How to find locked objects:
1. Get row lock information
 
select row_wait_obj#,
       row_wait_file#,
       row_wait_block#,
       row_wait_row#
from v$session
where sid = 'xxxx';
 
2.  Get the locked object information
 
select owner, object_type, object_name, data_object_id
from dba_objects
where object_id = ''; //row_wait_obj# in the above sql

 
 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7636787/viewspace-753913/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-01-15

  • 博文量
    25
  • 访问量
    28205