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 endpoint address of the log restore source.
|
| RECOVERY_UNTIL_SCN | NUMBER(38) | NO | The maximum log SCN to be retrieved. The value can be INT64_MAX or a positive finite value. |
Sample query
Query the log restore sources of the current user tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_LOG_RESTORE_SOURCE;
The query result is as follows:
+-----------+------+----------+----------------------------------------+---------------------+
| TENANT_ID | ID | TYPE | VALUE | RECOVERY_UNTIL_SCN |
+-----------+------+----------+----------------------------------------+---------------------+
| 1018 | 1 | LOCATION | file:///home/admin/oceanbase/arglogorc | 4611686018427387903 |
+-----------+------+----------+----------------------------------------+---------------------+
1 row in set