Note
This view is available starting with V4.2.0.
Purpose
This view displays the log restore sources of the current tenant.
Columns
Column |
Type |
Nullable |
Description |
|---|---|---|---|
| TENANT_ID | NUMBER(38) | NO | The tenant ID. |
| ID | NUMBER(38) | NO | The ID of the log restore source. |
| TYPE | VARCHAR2(32) | NO | The type of the log restore source. Valid values:
|
| VALUE | CLOB | NO | The entry address of the log restore source.
|
| RECOVERY_UNTIL_SCN | NUMBER(38) | NO | The maximum log SCN. The value can be INT64_MAX or a positive integer. |
| RECOVERY_DELAY | NUMBER(38) | NO | The synchronization delay of the tenant, in microseconds. Default value: 0, which indicates no delay.
NoteThis field is available starting with V4.4.2 BP2. |
Sample query
Query the log restore sources of the current tenant in the user tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_LOG_RESTORE_SOURCE;
The query result is as follows:
*************************** 1. row ***************************
TENANT_ID: 1002
ID: 1
TYPE: SERVICE
VALUE: IP_LIST=6.xx.xx.92:2881+2882,USER=rep_user@oracle001,PASSWORD=DFB**********************************,TENANT_ID=1004,CLUSTER_ID=10001,COMPATIBILITY_MODE=ORACLE,IS_ENCRYPTED=true
RECOVERY_UNTIL_SCN: 4611686018427387903
RECOVERY_DELAY: 1800000000
1 row in set
