Note
This view is introduced since OceanBase Database V4.2.0.
Purpose
The GV$OB_ARBITRATION_SERVICE_STATUS view displays the communication status between the arbitration service and nodes in the tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | The IP address of the OBServer node. |
| SVR_PORT | bigint(20) | NO | The RPC port number of the OBServer node. |
| ARBITRATION_SERVICE_ADDRESS | varchar(512) | NO | The endpoint of the arbitration service. |
| STATUS | varchar(46) | NO | The communication status between the OBServer node and the arbitration service. Valid values:
|
Sample query
Query the communication status between the arbitration service and all nodes in the current tenant.
obclient[oceanbase]> SELECT * FROM oceanbase.GV$OB_ARBITRATION_SERVICE_STATUS;
Here is the query result:
+----------------+----------+-----------------------------+--------+
| SVR_IP | SVR_PORT | ARBITRATION_SERVICE_ADDRESS | STATUS |
+----------------+----------+-----------------------------+--------+
| xxx.xx.xxx.207 | 2882 | xxx.xx.xxx.224:2882 | ACTIVE |
| xxx.xx.xxx.218 | 2882 | xxx.xx.xxx.224:2882 | ACTIVE |
+----------------+----------+-----------------------------+--------+
2 rows in set
References related to this topic
To view the arbitration members of the current tenant, see GV$OB_ARBITRATION_MEMBER_INFO.
For more information about arbitration service operations, see the following topics: