Note
This parameter was introduced in OceanBase Database V4.1.0.
Description
log_transport_compress_func specifies the compression algorithm used for log transmission.
Privilege requirements
Query the parameter
You can query this parameter by using the
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview in thesystenant and all user tenants.Modify the parameter
You can modify this parameter in the
systenant and user tenants.
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 log transmission to lz4_1.0.
obclient> ALTER SYSTEM SET log_transport_compress_func = 'lz4_1.0';