Note
This view is introduced since OceanBase Database V4.2.0.
Purpose
The GV$OB_ARBITRATION_SERVICE_STATUS view displays the communication status between a cluster and the arbitration service.
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
Check the communication status between each node and the arbitration service in the cluster.
obclient[oceanbase]> SELECT * FROM oceanbase.GV$OB_ARBITRATION_SERVICE_STATUS;
The query result is as follows:
+----------------+----------+-----------------------------+--------+
| 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
To view the arbitration members of the current cluster, see GV$OB_ARBITRATION_MEMBER_INFO.
For information about how to perform operations on the arbitration service, see the following topics: