Note
This view is available starting with V4.0.0.
Purpose
This view displays information about the backup destinations 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 to be set for accessing the object storage. |
| 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 of the object storage. |
| EXTENSION | varchar(512) | NO | The remaining 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 time when the last connectivity check passed. |
| 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 maximum bandwidth after conversion. The converted format is similar to 10GB/s or 10MB/s.
NoteThis column is available starting with V4.3.5. |
| STATUS | varchar(64) | YES |
NoteThis column is available starting with V4.4.1 for V4.4.x. |
Sample query
Query the information about the backup destinations used for backup and restore in the user 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 | STATUS |
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+--------+
| 1002 | file:///home/admin/oceanbase/arglog | | 1001 | archive_log | | | 1002_connect_file_20250103T081853.obbak | 2025-01-03 16:19:04.807451 | 0 | 0 | UNLIMITED | NORMAL |
| 1002 | file:///home/admin/oceanbase/backupdata | | 1002 | backup_data | | | 1002_connect_file_20250103T081928.obbak | 2025-01-03 16:20:34.069255 | 0 | 0 | UNLIMITED | NORMAL |
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+--------+
2 rows in set