Note
This view is available starting with V4.2.1 BP2.
Purpose
This view DBA_OB_TRANSFER_PARTITION_TASKS displays the Transfer Partition tasks that are being processed in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TASK_ID | NUMBER(38) | NO | The unique identifier of the Transfer Partition task. |
| CREATE_TIME | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The time when the task was created. |
| MODIFY_TIME | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The time when the information was last updated. |
| TABLE_ID | NUMBER(38) | NO | The ID of the table that contains the partition to be transferred. |
| OBJECT_ID | NUMBER(38) | NO | The OBJECT_ID of the partition to be transferred. |
| DEST_LS | NUMBER(38) | NO | The log stream of the destination. |
| BALANCE_JOB_ID | NUMBER(38) | NO | The ID of the load balancing job associated with the task. |
| TRANSFER_TASK_ID | NUMBER(38) | NO | The ID of the Transfer task associated with the task. |
| STATUS | VARCHAR2(64) | NO | The status of the task. Valid values:
|
| COMMENT | CLOB | YES | The comment. |
Sample query
Query the Transfer Partition tasks that are being processed in the current tenant.
obclient> SELECT * FROM SYS.DBA_OB_TRANSFER_PARTITION_TASKS;
The query result is as follows:
+---------+----------------------------+----------------------------+----------+-----------+---------+----------------+------------------+--------+---------+
| TASK_ID | CREATE_TIME | MODIFY_TIME | TABLE_ID | OBJECT_ID | DEST_LS | BALANCE_JOB_ID | TRANSFER_TASK_ID | STATUS | COMMENT |
+---------+----------------------------+----------------------------+----------+-----------+---------+----------------+------------------+--------+---------+
| 4 | 2023-12-01 11:21:11.357272 | 2023-12-01 11:21:17.904857 | 500012 | 500014 | 1003 | 737367 | 9 | DOING | NULL |
+---------+----------------------------+----------------------------+----------+-----------+---------+----------------+------------------+--------+---------+
1 row in set
References
Query the history of Transfer Partition tasks that have been executed in the current tenant: DBA_OB_TRANSFER_PARTITION_TASK_HISTORY
For more information about Transfer Partition operations, see the following topics: