暂无图片
暂无图片
1
暂无图片
暂无图片
暂无图片

Oracle Internal : 通过 oradebug 获取内核的编码命令

原创 eygle 2020-07-05
1332

在 Oracle 数据库,复杂的内核调用往往让读者迷惑,然而,Oracle 提供了丰富的接口去获取信息,例如 oradebug doc 命令。

Use <component_name>, <library_name> or <library_name>.<component_name>

以下是ASM 的范例(11.2.0.4版本):

SQL> oradebug doc component asm asm

  ASM			       Automatic Storage Management (kf)
    KFK 		       KFK (kfk)
      KFKIO		       KFK IO (kfkio)
      KFKSB		       KFK subs (kfksubs)
    KFN 		       ASM Networking subsystem (kfn)
      KFNU		       ASM Umbillicus (kfnm, kfns, kfnb)
      KFNS		       ASM Server networking (kfns)
      KFNC		       ASM Client networking (kfnc)
    KFIS		       ASM Intelligent Storage interfaces (kfis)
    KFM 		       ASM Node Monitor Interface Implementation (kfm)
      KFMD		       ASM Node Monitor Layer for Diskgroup Registration (kfmd)
      KFMS		       ASM Node Monitor Layers Support Function Interface (kfms)
    KFFB		       ASM Metadata Block (kffb)
    KFFD		       ASM Metadata Directory (kffd)
    KFZ 		       ASM Zecurity subsystem (kfz)
    KFC 		       ASM Cache (kfc)
    KFR 		       ASM Recovery (kfr)
    KFE 		       ASM attributes (kfe)
    KFDP		       ASM PST (kfdp)
    KFG 		       ASM diskgroups (kfg)
    KFDS		       ASM staleness registry and resync (kfds)
    KFDX		       ASM Exadata interface (kfdx)

以下是 12c 的版本输出:

SQL> oradebug doc component asm

  ASM                          Automatic Storage Management (kf)
    KFK                        KFK (kfk)
      KFKIO                    KFK IO (kfkio)
      KFKSB                    KFK subs (kfksubs)
    KFN                        ASM Networking subsystem (kfn)
      KFNU                     ASM Umbillicus (kfnm, kfns, kfnb)
      KFNS                     ASM Server networking (kfns)
      KFNC                     ASM Client networking (kfnc)
    KFIS                       ASM Intelligent Storage interfaces (kfis)
    KFM                        ASM Node Monitor Interface Implementation (kfm)
      KFMD                     ASM Node Monitor Layer for Diskgroup Registration (kfmd)
      KFMS                     ASM Node Monitor Layers Support Function Interface (kfms)
    KFFB                       ASM Metadata Block (kffb)
    KFFD                       ASM Metadata Directory (kffd)
    KFZ                        ASM Zecurity subsystem (kfz)
    KFC                        ASM Cache (kfc)
    KFR                        ASM Recovery (kfr)
    KFE                        ASM attributes (kfe)
    KFDP                       ASM PST (kfdp)
    KFG                        ASM diskgroups (kfg)
    KFDS                       ASM staleness registry and resync (kfds)
    KFIA                       ASM Remote (kfia)
      KFIAS                    ASM IOServer (kfias)
      KFIAC                    ASM IOServer client (kfiac)
    KFFSCRUB                   ASM Scrubbing (kffscrub)
    KFIO                       ASM translation I/O layer (kfio)
    KFIOER                     ASM translation I/O layer (kfioer)
    KFV                        ASM Volume subsystem (kfv)
      KFVSU                    ASM Volume Umbillicus (kfvsu)
      KFVSD                    ASM Volume Background (kfvsd)
    KFDX                       ASM Exadata interface (kfdx)
    KFZP                       ASM Password File Layer (kfzp)
    KFA                        ASM Alias Operations (kfa)

供参考。

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论