×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

Yes, there is. run ?/rdbms/admin/catblock.sql

本文发表在 rolia.net 枫下论坛SYS@remdev:phantom:SQL>select * from v$version;

BANNER
------------------------------------------------------------------------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE 8.1.7.0.0 Production
TNS for Solaris: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production

SYS@remdev:phantom:SQL>desc dba_locks
Name Null? Type
----------------------------------------------------------------- -------- --------------------------------------------
SESSION_ID NUMBER
LOCK_TYPE VARCHAR2(26)
MODE_HELD VARCHAR2(40)
MODE_REQUESTED VARCHAR2(40)
LOCK_ID1 VARCHAR2(40)
LOCK_ID2 VARCHAR2(40)
LAST_CONVERT NUMBER
BLOCKING_OTHERS VARCHAR2(40)更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / Is there table or view as "dba_locks" in oracle 8i?
    • There is no dictionary view as 'DBA_LOCK', but there is a 'v$LOCK'
    • Yes, there is. run ?/rdbms/admin/catblock.sql
      本文发表在 rolia.net 枫下论坛SYS@remdev:phantom:SQL>select * from v$version;

      BANNER
      ------------------------------------------------------------------------------------------------------------------------
      Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
      PL/SQL Release 8.1.7.4.0 - Production
      CORE 8.1.7.0.0 Production
      TNS for Solaris: Version 8.1.7.4.0 - Production
      NLSRTL Version 3.4.1.0.0 - Production

      SYS@remdev:phantom:SQL>desc dba_locks
      Name Null? Type
      ----------------------------------------------------------------- -------- --------------------------------------------
      SESSION_ID NUMBER
      LOCK_TYPE VARCHAR2(26)
      MODE_HELD VARCHAR2(40)
      MODE_REQUESTED VARCHAR2(40)
      LOCK_ID1 VARCHAR2(40)
      LOCK_ID2 VARCHAR2(40)
      LAST_CONVERT NUMBER
      BLOCKING_OTHERS VARCHAR2(40)更多精彩文章及讨论,请光临枫下论坛 rolia.net