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_func sets the algorithm for clog storage compression.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | lz4_1.0 |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No |
Examples
In the
systenant, set the clog compression algorithm for thetenant_nametenant tolz4_1.0.obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0' tenant = 'tenant_name';Set the clog compression algorithm for all tenants to
lz4_1.0.obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0' tenant=all;Set the clog compression algorithm for the current tenant to
lz4_1.0.obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0';