oceanbase.CDB_OB_IMPORT_TABLE_TASK_HISTORY

2025-11-14 07:33:33  Updated

Note

This view is introduced since OceanBase Database V4.2.1.

Purpose

The oceanbase.CDB_OB_IMPORT_TABLE_TASK_HISTORY view displays the history of table-level import tasks.

Columns

Column Type Nullable? Description
TENANT_ID bigint(20) NO The ID of the tenant.
TASK_ID varchar(4096) NO The ID of the import task.
JOB_ID bigint(20) NO The job ID of the import task.
SRC_TENANT_ID bigint(20) NO The ID of the source tenant.
SRC_TABLESPACE varchar(128) YES The tablespace to which the source table belongs.
SRC_TABLEGROUP varchar(128) YES The table group to which the source table belongs.
SRC_DATABASE varchar(128) YES The database to which the source table belongs.
SRC_TABLE varchar(128) YES The name of the source table.
SRC_PARTITION varchar(64) YES The name of a partition in the source table.
TARGET_TABLESPACE varchar(128) YES The name of the target tablespace to which the table is to be remapped. This column is empty if the table does not need to be remapped.
TARGET_TABLEGROUP varchar(128) YES The name of the target table group to which the table is to be remapped. This column is empty if the table does not need to be remapped.
TARGET_DATABASE varchar(128) YES The name of the target database to which the table is to be remapped. This column is empty if the table does not need to be remapped.
TARGET_TABLE varchar(128) YES The name of the destination table.
TABLE_COLUMN bigint(20) NO The number of columns in the table.
STATUS varchar(64) NO The status of the import task. The value is FINISH.
START_TIMESTAMP timestamp(6) NO The time on the tenant when the task started.
COMPLETION_TIMESTAMP timestamp(6) NO The time on the tenant when the task was completed.
CUMULATIVE_TS bigint(20) NO The cumulative time.
TOTAL_INDEX_COUNT bigint(20) NO The total number of indexes to import.
IMPORTED_INDEX_COUNT bigint(20) NO The number of indexes imported.
FAILED_INDEX_COUNT bigint(20) NO The number of indexes failed to be imported.
TOTAL_CONSTRAINT_COUNT bigint(20) NO The total number of constraints to import.
IMPORTED_CONSTRAINT_COUNT bigint(20) NO The number of constraints imported.
FAILED_CONSTRAINT_COUNT bigint(20) NO The number of constraints failed to be imported.
TOTAL_REF_CONSTRAINT_COUNT bigint(20) NO The total number of referenced constraints to import.
IMPORTED_REF_CONSTRAINT_COUNT bigint(20) NO The number of referenced constraints imported.
FAILED_REF_CONSTRAINT_COUNT bigint(20) NO The number of referenced constraints failed to be imported.
RESULT varchar(64) YES The result of the table-level restore job. Valid values:
  • SUCCESS
  • FAIL
COMMENT longtext YES The additional information.

Contact Us