Purpose
The GV$GLOBAL_TRANSACTION view displays 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 OBServer node. |
| SVR_PORT | NUMBER(38) | NO | The port number of the OBServer node. |
| 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: |
| 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. |