Note
For V4.2.2, this parameter is available starting with V4.2.2.
Description
log_storage_compress_func specifies the compression algorithm for 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 |
|---|---|
| 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. The setting takes effect immediately. |
Examples
Set the compression algorithm for clog storage compression to lz4_1.0.
obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0';