Note
This view is available starting with V3.1.4.
Purpose
This view displays all TTL tasks being executed in all tenants under the sys tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| TABLE_NAME | varchar(256) | NO | The table name. |
| TABLE_ID | bigint(20) | NO | The table ID. |
| TABLET_ID | bigint(20) | NO | The tablet ID. |
| TASK_ID | bigint(20) | NO | The task ID, starting from 1. |
| START_TIME | timestamp(6) | NO | The task start time. |
| END_TIME | timestamp(6) | NO | The task end time. |
| TRIGGER_TYPE | varchar(8) | NO | The task trigger type. Valid values: PERIODIC and USER. |
| STATUS | varchar(13) | NO | The current task status. |
| 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 task return code. |
| TASK_TYPE | varchar(12) | NO | The TTL task type. Valid values: NORMAL and HBASE ROWKEY. Only OBKV-HBase supports the HBASE ROWKEY type. |