oceanbase.DBA_OB_BACKUP_TASK_HISTORY

2026-01-14 09:30:32  Updated

Note

This view is available starting with V4.0.0.

Purpose

This view displays the historical records of task-level backup tasks for the current tenant. Physical backup is not supported for the sys tenant and the Meta tenant.

Columns

Column Type Nullable Description
TASK_ID bigint(20) NO The task ID of the backup set.
JOB_ID bigint(20) NO The job ID to which the task belongs.
INCARNATION bigint(20) NO The number of incarnations after a flashback database operation.
BACKUP_SET_ID bigint(20) NO The backup set ID corresponding to the task.
START_TIMESTAMP timestamp(6) NO The start time of the task.
END_TIMESTAMP timestamp(6) NO The end time of the task.
STATUS varchar(4096) NO The status of the backup.
START_SCN bigint(20) unsigned NO The SCN at which the backup started.
END_SCN bigint(20) unsigned NO The SCN at which the backup ended.
USER_LS_START_SCN bigint(20) unsigned NO The SCN of the backup log stream meta data.
ENCRYPTION_MODE varchar(4096) YES The encryption mode.
None: No encryption.
Password: Password protection only.
Password Encryption: Encryption with password protection.
Transparent Encryption: Transparent Data Encryption (TDE) encryption.
Dual mode Encryption: TDE encryption with password protection.
Currently, only None and Password are supported.
PASSWD varchar(4096) YES The password.
INPUT_BYTES bigint(20) YES The number of input bytes.
OUTPUT_BYTES bigint(20) YES The number of output bytes.
OUTPUT_RATE_BYTES decimal(28,4) NO The number of output bytes per second.
EXTRA_META_BYTES bigint(20) YES The number of extra bytes.
TABLET_COUNT bigint(20) YES The total number of tablets.
FINISH_TABLET_COUNT bigint(20) YES The total number of tablets that have been backed up.
MACRO_BLOCK_COUNT bigint(20) YES The number of macroblocks.
FINISH_MACRO_BLOCK_COUNT bigint(20) YES The number of macroblocks that have been backed up.
FILE_COUNT bigint(20) YES The number of backup files.
META_TURN_ID bigint(20) YES The number of backup meta data rounds.
DATA_TURN_ID bigint(20) YES The number of backup data rounds.
RESULT bigint(20) YES The error code of the backup.
COMMENT varchar(4096) YES The description of the error code.
PATH varchar(4096) YES The backup path.
MINOR_TURN_ID bigint(20) NO The number of minor data backup rounds.
MAJOR_TURN_ID bigint(20) NO The number of major data backup rounds.

Contact Us