Note
- For OceanBase Database V4.3.x, this parameter was introduced in OceanBase Database V4.3.1.
- For OceanBase Database V4.2.x, this parameter was introduced in OceanBase Database V4.2.2.
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 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';