Purpose
The oceanbase.DBA_OB_TRANSFER_TASKS view displays the ongoing transfer tasks of the current tenant.
Note
This view is introduced since OceanBase Database V4.2.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The ID of the transfer task. |
| CREATE_TIME | timestamp(6) | YES | The time when the task was created. |
| MODIFY_TIME | timestamp(6) | YES | The time when the task was modified. |
| SRC_LS | bigint(20) | NO | The source log stream, which is generated at the data source. |
| DEST_LS | bigint(20) | NO | The destination log stream. |
| PART_LIST | longtext | YES | The list of partitions, including user table partitions and global index partitions. |
| PART_COUNT | bigint(20) | YES | The number of partitions in the partition list. |
| NOT_EXIST_PART_LIST | longtext | YES | The list of partitions that are scheduled in the task but do not exist when a lock is applied. |
| LOCK_CONFLICT_PART_LIST | longtext | YES | The list of partitions that are scheduled in the task but involve lock conflicts when a lock is applied. |
| TABLE_LOCK_TABLET_LIST | longtext | YES | The list of tablets on which a partition-level table lock is successfully applied while entering the START state. This list is used during table lock migration. This list contains only tablets corresponding to partitions in the list specified by PART_LIST. |
| TABLET_LIST | longtext | YES | The complete list of tablets involved in the transfer operation, including the partitions in the list specified by PART_LIST and those associated with the local index tables and LOB auxiliary tables. |
| TABLET_COUNT | bigint(20) | YES | The number of tablets in the tablet list. |
| START_SCN | bigint(20) unsigned | YES | The SCN at which the transfer starts. |
| FINISH_SCN | bigint(20) unsigned | YES | The SCN at which the transfer ends. |
| STATUS | varchar(64) | NO | The status of the task. Valid values:
|
| TRACE_ID | varchar(64) | NO | The trace ID of the task. |
| RESULT | bigint(20) | YES | The result of the task. |
| BALANCE_TASK_ID | bigint(20) | NO | The ID of the associated load balancing task. The transfer task is a subtask generated by the corresponding load balancing task. |
| TABLE_LOCK_OWNER_ID | bigint(20) | YES | The ID of the owner of the table lock. The system generates an owner ID for each table lock to identify its owner. When you want to release a table lock, the system requires the owner ID to correctly identify and release the table lock. |
| COMMENT | longtext | YES | The comments. You can record the reason why the task was stuck, the diagnostic information, and the failure information. |