Overview
suspend_storage_cache_task is used to set whether to suspend background cache tasks.
Privilege requirements
Query parameters
The
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview can be used by thesystenant and all user tenants to query this parameter.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | False |
| Value range |
|
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
User tenant
Stop the cache task for this tenant.
obclient> ALTER SYSTEM SET suspend_storage_cache_task = True;Set to normally proceed with cache tasks under this tenant.
obclient> ALTER SYSTEM SET suspend_storage_cache_task = False;
System tenant
Stop the cache task under the paused tenant
mysqltenant.obclient> ALTER SYSTEM SET suspend_storage_cache_task = True TENANT = mysqltenant;Set up the cache task for normal progression under tenant
mysqltenant.obclient> ALTER SYSTEM SET suspend_storage_cache_task = False TENANT = mysqltenant;