Note
For V4.6.0, this parameter is available starting with V4.6.0.
Description
kv_ttl_delete_max_ops specifies the maximum number of operations per second for TTL task deletion. You can use this parameter to limit the speed of TTL tasks to prevent performance degradation caused by excessive deletion operations.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0, which indicates no limit. |
| Value range | [0, +∞), which indicates the maximum number of deletion operations per second for TTL tasks. |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the maximum number of deletion operations per second for TTL tasks to 1000.
ALTER SYSTEM SET kv_ttl_delete_max_ops = 1000;
