ITPub博客

首页 > Linux操作系统 > Linux操作系统 > v$locked_object&v$session&v$sqltext

v$locked_object&v$session&v$sqltext

原创 Linux操作系统 作者:dragondb 时间:2019-04-13 08:21:04 0 删除 编辑
v$locked_object&v$session&v$sqltext
通过 v$locked_object 找到 session_id
通过 v$session 找到以下的值,尝试在v$sqltext 中查找lock table 的sql:

SQL_ADDRESS
RAW(4)
Used with SQL_HASH_VALUE to identify the SQL statement that is currently being executed

SQL_HASH_VALUE
NUMBER
Used with SQL_ADDRESS to identify the SQL statement that is currently being executed

PREV_SQL_ADDR
RAW(4)
Used with PREV_HASH_VALUE to identify the last SQL statement executed

PREV_HASH_VALUE
NUMBER
Used with SQL_HASH_VALUE to identify the last SQL statement executed

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

下一篇: Win Resource Kits
请登录后发表评论 登录
全部评论

注册时间:2003-05-05

  • 博文量
    61
  • 访问量
    45566