Note
This parameter is introduced since OceanBase Database V4.2.2. You can execute SHOW PARAMETERS LIKE to query this parameter, which does not take effect at present. You can execute ALTER SYSTEM SET to set this parameter, but the setting does not take effect.
Description
log_storage_compress_all specifies whether to enable clog storage compression.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| Default value | False |
| Value range | [true, false] |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No |
Examples
Enable clog storage compression for the
tenant_nametenant from the sys tenant.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';