Note
This view is available starting with V4.2.0.
Purpose
This view displays the list of servers for the tenant access point of the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The tenant ID.
|
| TENANT_NAME | varchar(128) | NO | The tenant name. |
| SVR_IP | varchar(46) | NO | The IP address of the server where the system log stream replica resides. |
| SQL_PORT | bigint(20) | NO | The SQL port of the server where the system log stream replica resides. |
Sample query
Query the list of servers for the tenant access point of the sys tenant.
obclient [oceanbase]> SELECT SVR_IP, SQL_PORT FROM oceanbase.DBA_OB_ACCESS_POINT;
The query result is as follows:
+----------------+----------+
| SVR_IP | SQL_PORT |
+----------------+----------+
| 172.xx.xxx.xxx | 2881 |
+----------------+----------+
1 row in set