V$GLOBAL_TRANSACTION

2024-03-05 01:54:26  Updated

Purpose

The V$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.
GLOBALID VARCHAR2(256) NO The IP address of the server.
BRANCHID VARCHAR2(256) NO The port number of the server.
BRANCHES NUMBER(38) NO The identifier of the global transaction.
REFCOUNT NUMBER(38) NO The branch ID of the global transaction.
PREPARECOUNT NUMBER NO The total number of branches in the global transaction.
STATE CHAR(6) NO The number of siblings for the global transaction, which must be the same as the value of BRANCHES.
FLAGS NUMBER NO The number of prepared branches of the global transaction.
COUPLING CHAR(15) 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
  • CON_ID VARCHAR2(256) NO The numeric representation of the state.

    Contact Us