Note
This view is available starting with V4.1.0.
Overview
This API is accessible only to the system tenant and displays the arbitration service configuration information of the current cluster.
Columns
field |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| CREATE_TIME | datetime | YES | Record Generated At |
| MODIFY_TIME | datetime | YES | Record Modification Time |
| ARBITRATION_SERVICE_KEY | varchar(256) | NO | Arbitration service name. The default value is DEFAULT. |
| ARBITRATION_SERVICE | varchar(512) | NO | Arbitration service address |
| PREVIOUS_ARBITRATION_SERVICE | varchar(512) | YES | If a value is present, it indicates that the arbitration service address is being replaced for the current cluster. In this case,ARBITRATION_SERVICEindicates the new arbitration service address.PREVIOUS_ARBITRATION_SERVICERepresents the old arbitration service address. |
| TYPE | varchar(64) | NO | Arbitration service type. Currently, onlyADDR |
Sample query
The system tenant queries the arbitration service configuration information within the current cluster.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_ARBITRATION_SERVICE;
The query result is as follows:
+---------------------+---------------------+-------------------------+---------------------+------------------------------+------+
| CREATE_TIME | MODIFY_TIME | ARBITRATION_SERVICE_KEY | ARBITRATION_SERVICE | PREVIOUS_ARBITRATION_SERVICE | TYPE |
+---------------------+---------------------+-------------------------+---------------------+------------------------------+------+
| 2023-06-26 19:30:19 | 2023-06-30 09:42:40 | default | xx.xx.xx.192:2882 | | ADDR |
+---------------------+---------------------+-------------------------+---------------------+------------------------------+------+
1 row in set
