zoukankan      html  css  js  c++  java
  • VIEW: X$KTUXE Transaction Entry (table)

    View:   X$KTUXE
             [K]ernel [T]ransaction [U]ndo
               Transa[x]tion [E]ntry (table)
    
      This view is very useful as it gives an indication of the state
      of the transaction tables in the rollback segment headers.
      The information here can be used to see the state of transactions
      requiring transaction recovery do not show in <View:V$TRANSACTION>
      <Event:10013> may be useful to trace transaction recovery.
    
     Column          Type               Description
     --------        ----               --------
     ADDR            RAW(4|8)           address of this row/entry in the array or SGA
     INDX            NUMBER             index number of this row in the fixed table array
     INST_ID         NUMBER       8.x   oracle instance number
    
    Transaction ID
     KTUXEUSN        NUMBER             undo seg number
           KUSNOLTP UB2MAXVAL           is no-undo xac
     KTUXESLT        NUMBER             slot number
           KSLTINV  UB2MAXVAL           not a valid slot num
     KTUXESQN        NUMBER             wrap number, is savept # at start if no-undo xac
                                         position within transaction
    
     KTUXERDBF       NUMBER             relative File
     KTUXERDBB       NUMBER             relative Block
     KTUXESCNB       NUMBER             SCN base for prepare/commit
     KTUXESCNW       NUMBER             SCN wrap for prepare/commit
     KTUXESTA        VARCHAR2(16)       Transaction Status
     KTUXECFL        VARCHAR2(24)       Transaction flags
     KTUXEUEL        NUMBER             Used for extent of tx and link to commit list
    
    Distributed tx: collecting dba and undo bk to start retrieving collecting info rec
     KTUXEDDBF       NUMBER             relative file
     KTUXEDDBB       NUMBER             relative dba
    
    Parent transaction id
     KTUXEPUSN       NUMBER       8.x   undo seg number
           KUSNOLTP UB2MAXVAL           is no-undo xac
     KTUXEPSLT       NUMBER       8.x   slot number
           KSLTINV  UB2MAXVAL           not a valid slot num
     KTUXEPSQN       NUMBER       8.x   wrap number, is savept # at start if no-undo xac
                                          position within transaction
    
     KTUXESIZ        NUMBER       8.1  number of undo blocks used by the transaction
    
    Notes:
    
    To see any DEAD transactions for deferred transaction recovery
      after startup:
    
          select * from x$ktuxe where ktuxecfl='DEAD';
  • 相关阅读:
    hdu 1231 最大连续子序列
    数据加载初始化问题
    分页查询
    PHP-引入文件(include)后,页面错位,不居中解决办法
    数据库中的事务和锁(乐观、悲观锁,共享、排他锁,死锁)
    java操作excel 工具类
    微信公众号处理
    java实用资料
    【转】字符流和字节流的区别,使用场景,相关类
    基于redis分布式锁实现“秒杀”
  • 原文地址:https://www.cnblogs.com/macleanoracle/p/2967219.html
Copyright © 2011-2022 走看看