Note
This view is available starting with V3.1.4.
Purpose
This view displays the TTL tasks that are being executed in 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, starting 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 type of the task trigger. Valid values: PERIODIC and USER. |
| STATUS | varchar(13) | NO | The current status of the task. |
| TTL_DEL_CNT | bigint(20) | NO | The number of records deleted based on the time_to_live parameter. |
| MAX_VERSION_DEL_CNT | bigint(20) | NO | The number of records deleted based on the MAX_VERSION parameter. |
| 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: NORMAL and HBASE ROWKEY. Only OBKV-HBase supports the HBASE ROWKEY type. |