Overview
cache_wash_threshold specifies the memory usage threshold for triggering cache cleanup. When the memory usage falls below this threshold, the system will clean up the cache.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can execute theSHOW PARAMETERSstatement to query this parameter.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Capacity |
| Default Value | 4 GB. The default unit is MB. You must specify the unit when configuring it. |
| Value range | [0, +∞) |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the capacity threshold for triggering cache cleanup to 4 GB.
obclient> ALTER SYSTEM SET cache_wash_threshold='4GB';