Purpose
The oceanbase.DBA_OB_TASK_OPT_STAT_GATHER_HISTORY view displays the execution information about historical collection tasks.
Note
This view is introduced since OceanBase Database V4.2.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant to which the collection task belongs. |
| TASK_ID | varchar(36) | NO | The ID of the collection task, which is generated based on UUID and is globally unique. |
| TYPE | varchar(16) | NO | The type of the collection task. |
| STATUS | varchar(8) | NO | The status of the collection task. Valid values:
|
| TABLE_COUNT | bigint(20) | YES | The number of tables whose statistics need to be collected by the collection task. |
| FAILED_COUNT | bigint(20) | YES | The number of tables whose statistics failed to be collected by the collection task. |
| START_TIME | datetime(6) | NO | The start time of the collection task. |
| END_TIME | datetime(6) | NO | The end time of the collection task. |