GV$GLOBAL_TRANSACTION

2024-04-19 08:42:49  Updated

Purpose

The GV$GLOBAL_TRANSACTION view provides information about currently active global transactions.

Applicability

This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.

Columns

Column Type Nullable? Description
FORMATID NUMBER(38) NO The format identifier of the global transaction.
SVR_IP VARCHAR2(128) NO The IP address of the server.
SVR_PORT NUMBER(38) NO The port number of the server.
GLOBALID VARCHAR2(256) NO The identifier of the global transaction.
BRANCHID VARCHAR2(256) NO The branch ID of the global transaction.
BRANCHES NUMBER(38) NO The total number of branches in the global transaction.
REFCOUNT NUMBER(38) NO The number of siblings for the global transaction, which must be the same as the value of BRANCHES.
PREPARECOUNT NUMBER NO The number of prepared branches of the global transaction.
STATE CHAR(6) NO The state of a branch of the global transaction. Valid values:
  • ACTIVE
  • COLLECTING
  • FINALIZED
  • FAILED
  • RECOVERING
  • UNASSOCIATED
  • FORGOTTEN
  • READY FOR RECOVERY
  • NO-READONLY FAILED
  • SIBLING INFO WRITTEN
  • [ORACLE COORDINATED]ACTIVE
  • [ORACLE COORDINATED]COLLECTING
  • [ORACLE COORDINATED]FINALIZED
  • [ORACLE COORDINATED]FAILED
  • [ORACLE COORDINATED]RECOVERING
  • [ORACLE COORDINATED]UNASSOCIATED
  • [ORACLE COORDINATED]FORGOTTEN
  • [ORACLE COORDINATED]READY FOR RECOVERY
  • [ORACLE COORDINATED]NO-READONLY FAILED
  • [MULTINODE]ACTIVE
  • [MULTINODE]COLLECTING
  • [MULTINODE]FINALIZED
  • [MULTINODE]FAILED
  • [MULTINODE]RECOVERING
  • [MULTINODE]UNASSOCIATED
  • [MULTINODE]FORGOTTEN
  • [MULTINODE]READY FOR RECOVERY
  • [MULTINODE]NO-READONLY FAILED
  • [MULTINODE]SIBLING INFO WRITTEN
  • COMBINATION
  • FLAGS NUMBER NO The numeric representation of the state.
    COUPLING CHAR(15) NO Indicates whether the branch is in FREE, LOOSELY COUPLED, or TIGHTLY COUPLED state.
    CON_ID VARCHAR2(256) NO The ID of the tenant.

    Contact Us