Note
This view is available starting with V4.2.0.
Purpose
This view displays the list of servers for the current tenant's access point. In a network-based physical standby scenario, it is primarily used to obtain the IP address and SQL port number of the OBServer node in the primary tenant's replica.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | NUMBER(38) | NO | The tenant ID.
|
| TENANT_NAME | VARCHAR2(128) | NO | The tenant name. |
| SVR_IP | VARCHAR2(46) | NO | The IP address of the server to which the system log stream replica belongs. |
| SQL_PORT | NUMBER(38) | NO | The SQL port number of the server to which the system log stream replica belongs. |
Sample query
Query the list of servers for the current tenant's access point.
obclient [SYS]> SELECT SVR_IP, SQL_PORT FROM SYS.DBA_OB_ACCESS_POINT;
The query result is as follows:
+----------------+----------+
| SVR_IP | SQL_PORT |
+----------------+----------+
| 172.xx.xxx.xxx | 2881 |
+----------------+----------+
1 row in set
References
For more information about network-based physical standby databases and how to operate them, see Physical standby databases.