Note
This view was introduced since OceanBase Database V4.0.0.
Purpose
This view displays the archive path configuration for the current tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| DEST_NO | NUMBER(38) | NO | Identifies log_archive_dest_n. |
| NAME | VARCHAR2(1024) | NO | The name of the field. |
| VALUE | VARCHAR2(4096) | NO | The value of the field. |
Sample query
User tenants can view the archive path configuration for their own tenant.
obclient[SYS]> SELECT * FROM SYS.DBA_OB_ARCHIVE_DEST;
The query results are as follows:
+---------+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+
| DEST_NO | NAME | VALUE |
+---------+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+
| 0 | binding | OPTIONAL |
| 0 | dest_id | 1004 |
| 0 | path | oss://example_patharchive?host=cn-******.aliyuncs.com&access_id=******&access_key=*****&checksum_type=md5&enable_worm=true |
| 0 | piece_switch_interval | 1d |
| 0 | state | ENABLE |
+---------+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+
5 rows in set
References
For detailed descriptions of the parameter values in the archive path, see SET LOG_ARCHIVE_DEST.