Note
For V4.2.2, this parameter is available starting with V4.2.2.
Description
log_storage_compress_all specifies whether to enable clog storage compression.
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 |
|---|---|
| Parameter type | Bool |
| Default value | False |
| Value range |
|
| 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
Enable clog storage compression for the
tenant_nametenant in thesystenant.obclient> ALTER SYSTEM SET log_storage_compress_all='True' tenant = 'tenant_name';Enable clog storage compression for all tenants.
obclient> ALTER SYSTEM SET log_storage_compress_all='True' tenant=all;Enable clog storage compression for the current tenant.
obclient> ALTER SYSTEM SET log_storage_compress_all='True';