Note
This view was introduced in OceanBase Database 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 type of task trigger, 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 the time_to_live value. |
| MAX_VERSION_DEL_CNT | bigint(20) | NO | The number of records deleted based on the MAX_VERSION value. |
| 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 TTL task. Valid values include NORMAL and HBASE ROWKEY. Currently, only OBKV-HBase supports the HBASE ROWKEY type. |