Overview
Displays the archive path configuration of the current tenant.
Columns
Field Name |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| DEST_NO | bigint(20) | NO | Identifier log_archive_dest_n |
| NAME | varchar(1024) | NO | Field name, which includes the following fields:
|
| VALUE | varchar(4096) | NO | name Field Value |
Sample query
Users can view the archive path configuration of their own tenant.
obclient[oceanbase]> SELECT * FROM oceanbase.DBA_OB_ARCHIVE_DEST;
The query result is as follows:
+---------+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+
| DEST_NO | NAME | VALUE |
+---------+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+
| 0 | binding | OPTIONAL |
| 0 | dest_id | 1002 |
| 0 | path | s3://example_patharchive?host=***&access_id=******&access_key=*****&checksum_type=md5 |
| 0 | piece_switch_interval | 1d |
| 0 | state | ENABLE |
+---------+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+
5 rows in set
Note
The sensitive information in the example, such as host, access_id, and access_key, has been masked.
References
For detailed operations and descriptions on Viewing archive parameters, see View archive parameters.
For more information about the parameters in the archive path, see SET LOG_ARCHIVE_DEST.