Note
This view was introduced in V3.1.4.
Purpose
This view displays the historical TTL tasks of the current tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TABLE_NAME | varchar(256) | No | The name of the table. |
| TABLE_ID | bigint(20) | No | The ID of the table. |
| TABLET_ID | bigint(20) | No | The ID of the tablet. |
| TASK_ID | bigint(20) | No | The ID of the task, which starts from 1. |
| START_TIME | timestamp(6) | No | The start time of the task. |
| END_TIME | timestamp(6) | No | The end time of the task. |
| TRIGGER_TYPE | varchar(8) | No | The trigger type of the task, which can be either PERIODIC or USER. |
| STATUS | varchar(13) | No | The current status of the task. For more information, see Task status. |
| TTL_DEL_CNT | bigint(20) | No | The number of records deleted based on time_to_live. |
| MAX_VERSION_DEL_CNT | bigint(20) | No | The number of records deleted based on MAX_VERSION. |
| SCAN_CNT | bigint(20) | No | The number of records scanned by the task. |
| RET_CODE | varchar(512) | No | The return code of the task. |
| TASK_TYPE | varchar(12) | No | The type of the TTL task. Valid values include NORMAL and HBASE ROWKEY. Currently, only OBKV-HBase supports the HBASE ROWKEY type. |