Purpose
The oceanbase.DBA_OB_IMPORT_TABLE_TASKS view displays records of table-level import tasks.
Note
This view is introduced since OceanBase Database V4.2.1.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The ID of the load balancing task. |
| JOB_ID | bigint(20) | NO | The job ID of the 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. Leave the field 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. Leave the field 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. Leave the field empty if the table does not need to be remapped. |
| TARGET_TABLE | varchar(128) | YES | The name of the target table. |
| TABLE_COLUMN | bigint(20) | NO | The number of columns in the table. |
| STATUS | varchar(64) | NO | The status of the task. Valid values:
|
| 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 task. Valid values:
|
| COMMENT | longtext | YES | The additional information. |