Note
This view is introduced since OceanBase Database V4.1.0.
Purpose
The oceanbase.DBA_OB_ARBITRATION_SERVICE view displays the arbitration service configurations of the current cluster. You can query this view only from the sys tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CREATE_TIME | datetime | YES | The time when the record was generated. |
| MODIFY_TIME | datetime | YES | The time when the record was modified. |
| ARBITRATION_SERVICE_KEY | varchar(256) | NO | The name of the arbitration service. Default value: DEFAULT. |
| ARBITRATION_SERVICE | varchar(512) | NO | The endpoint of the arbitration service. |
| PREVIOUS_ARBITRATION_SERVICE | varchar(512) | YES | A valid value indicates that the arbitration service endpoint is being changed for the cluster. In this case, the value of ARBITRATION_SERVICE indicates the new arbitration service endpoint, and that of PREVIOUS_ARBITRATION_SERVICE indicates the old arbitration service endpoint. |
| TYPE | varchar(64) | NO | The type of the arbitration service. Only ADDR is supported. |
Sample query
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_ARBITRATION_SERVICE;