Note
This view is available starting with V4.0.0.
Purpose
This view displays information about the backup destination used for backup and restore in the current tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| PATH | varchar(1024) | NO | The root path for backup. |
| ENDPOINT | varchar(256) | NO | The HOST value for object storage access. |
| DEST_ID | bigint(20) | YES | The ID of the backup destination. |
| DEST_TYPE | varchar(64) | YES | The type of the backup destination. Valid values:
|
| AUTHORIZATION | varchar(1024) | NO | The authorization information for object storage. |
| EXTENSION | varchar(512) | NO | The other parameters of the backup destination. |
| CHECK_FILE_NAME | varchar(256) | YES | The name of the connectivity verification file. |
| LAST_CHECK_TIMESTAMP | timestamp(6) | YES | The timestamp when the last connectivity check was successful. |
| MAX_IOPS | bigint(20) | NO | The maximum IOPS allowed for the backup media used for backup.
NoteThis column is available starting with V4.3.5. |
| MAX_BANDWIDTH | bigint(20) | NO | The maximum bandwidth allowed for the backup media used for backup, in bytes.
NoteThis column is available starting with V4.3.5. |
| MAX_BANDWIDTH_DISPLAY | varchar(29) | NO | The formatted maximum bandwidth, such as 10GB/s or 10MB/s.
NoteThis column is available starting with V4.3.5. |
Sample query
Query the information about the backup destination used for backup and restore in the current tenant.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_BACKUP_STORAGE_INFO;
The query result is as follows:
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+
| TENANT_ID | PATH | ENDPOINT | DEST_ID | DEST_TYPE | AUTHORIZATION | EXTENSION | CHECK_FILE_NAME | LAST_CHECK_TIMESTAMP | MAX_IOPS | MAX_BANDWIDTH | MAX_BANDWIDTH_DISPLAY |
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+
| 1002 | file:///home/admin/oceanbase/arglog | | 1001 | archive_log | | | 1002_connect_file_20250103T081853.obbak | 2025-01-03 16:19:04.807451 | 0 | 0 | UNLIMITED |
| 1002 | file:///home/admin/oceanbase/backupdata | | 1002 | backup_data | | | 1002_connect_file_20250103T081928.obbak | 2025-01-03 16:20:34.069255 | 0 | 0 | UNLIMITED |
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+
2 rows in set