Note
This view is available starting with V4.2.0.
Purpose
This view displays the load balancing tasks that are being executed in the current tenant. A tenant can have multiple load balancing tasks running at the same time, and these tasks (TASK) are part of the same load balancing job (JOB).
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The ID of the load balancing task. |
| CREATE_TIME | timestamp(6) | YES | The time when the task was created. |
| MODIFY_TIME | timestamp(6) | YES | The time when the information was last updated. |
| TASK_TYPE | varchar(64) | NO | The type of the task.
|
| SRC_LS | bigint(20) | NO | The source log stream (the log data stream generated from 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. |
| FINISHED_PART_LIST | longtext | YES | The list of partitions that have completed the load balancing process. |
| PART_COUNT | bigint(20) | YES | The number of partitions in the partition list. |
| FINISHED_PART_COUNT | bigint(20) | YES | The number of partitions that have completed the load balancing process. |
| LS_GROUP_ID | bigint(20) | NO | The ID of the log stream group. |
| STATUS | varchar(64) | NO | The status of the task.
|
| PARENT_LIST | varchar(1024) | YES | The list of parent tasks. |
| CHILD_LIST | varchar(1024) | YES | The list of child tasks. |
| CURRENT_TRANSFER_TASK_ID | bigint(20) | NO | The ID of the transfer task triggered by the current load balancing task. |
| JOB_ID | bigint(20) | NO | The ID of the job to which the current task belongs. |
| COMMENT | longtext | YES | The comment. |
| BALANCE_STRATEGY | varchar(64) | YES | The load balancing strategy corresponding to the balance task:
NoteFor V4.3.x, this column is available starting with V4.3.2. For V4.2.x, this column is available starting with V4.2.4. |
References
View the history of load balancing tasks at the log stream level for all tenants (Task): CDB_OB_BALANCE_TASK_HISTORY
View the load balancing jobs (Job) at the log stream level for all tenants:
View the load balancing tasks (Task) at the tablet level for all tenants:
View the transfer partition tasks (Task) for all tenants:
For more information about data load balancing, see Data load balancing.