Note
This view is available starting with V4.2.0.
Purpose
This view displays the history of load balancing tasks executed in the tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The ID of the load balancing task. |
| CREATE_TIME | timestamp(6) | NO | The start time of the task. |
| FINISH_TIME | timestamp(6) | NO | The end time of the task. This value indicates the time when the task is completed or canceled. |
| TASK_TYPE | varchar(64) | NO | The type of the task. Valid values:
|
| SRC_LS | bigint(20) | NO | The source log stream. |
| 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 been balanced. |
| 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 been balanced. |
| LS_GROUP_ID | bigint(20) | NO | The ID of the log stream group. |
| STATUS | varchar(64) | NO | The status of the task. Valid values:
|
| 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 balance strategy of the balance task. Valid values:
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 all load balancing tasks (tasks) at the log stream level that are currently being executed in all tenants: CDB_OB_BALANCE_TASKS
View all load balancing jobs (jobs) at the log stream level in all tenants:
View all load balancing tasks (tasks) at the tablet level in all tenants:
View all transfer partition tasks (tasks) in all tenants:
For more information about data load balancing, see Data load balancing.