Purpose
The oceanbase.DBA_OB_LS_LOCATIONS view displays the distribution of the log stream (LS) replicas in the current tenant.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CREATE_TIME | datetime(6) | NO | The time when the replica was created. |
| MODIFY_TIME | datetime(6) | NO | The time when the replica was modified. |
| LS_ID | bigint(20) | NO | The ID of the log stream. |
| SVR_IP | varchar(46) | NO | The IP address of the server. |
| SVR_PORT | bigint(20) | NO | The port number of the server. |
| SQL_PORT | bigint(20) | NO | The SQL port number. |
| ZONE | varchar(128) | NO | The name of the zone. |
| ROLE | varchar(8) | NO | The role of the replica. Valid values: LEADERFOLLOWER |
| MEMBER_LIST | varchar(4480) | NO | The list of replica members. This column is valid when ROLE is set to LEADER, and is NULL if otherwise. |
| PAXOS_REPLICA_NUMBER | bigint(20) | NO | The quorum of a Paxos group. This column is valid when ROLE is set to LEADER, and is NULL if otherwise. |
| REPLICA_TYPE | varchar(18) | NO | The type of the replica. Valid values: FULL: indicates a full-featured replica.LOGONLY: indicates a log replica.READONLY: indicates a read-only replica.ENCRYPTION_LOGONLY: indicates an encrypted log replica.NULL: indicates an unknown replica type. |