Note
- For V4.3.x, this parameter is available starting with V4.3.1.
- For V4.2.x, 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
sysand all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
sysand user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Boolean |
| 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';
