Overview
enable_manual_storage_cache_policy is used to enable a user-specified hotspot caching policy.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.Notice
The manual hot data caching strategy setting takes effect only in user tenants. When you modify this parameter in non-user tenants (
systenant and Meta tenant), the parameter value is updated, but the feature does not take effect.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | True |
| Value range |
|
| 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
Enable user-specified hotspot caching policies for user tenants.
obclient> ALTER SYSTEM SET enable_manual_storage_cache_policy= True;In the sys tenant, enable a user-specified hotspot caching strategy for the
mysqltenanttenant.obclient> ALTER SYSTEM SET enable_manual_storage_cache_policy= True TENANT = mysqltenant;
References
- Set the default cache policy: default_storage_cache_policy