Note
This parameter is available starting with V1.4.
Description
cache_wash_threshold specifies the capacity threshold that triggers cache cleaning. If the memory space is less than the specified value, the memory space will be cleaned.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | 4GB. The default unit is MB. You must specify the unit when you configure this parameter. |
| Value range | [0, +∞) |
| 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 capacity threshold that triggers cache cleaning to 4GB.
obclient> ALTER SYSTEM SET cache_wash_threshold='4GB';