Note
- Due to the architectural optimization in V4.x, the compression algorithm is now controlled separately by each module, and the default_transport_compress_func parameter is removed starting from V4.0.0.
- In V4.x:
- Starting from V4.1.0, the
log_transport_compress_functenant-level parameter is used to control the compression algorithm for log transmission. For more information, see log_transport_compress_func. - Starting from V4.2.1, the
kv_transport_compress_functenant-level parameter is used to control the compression algorithm for OBKV-Table query result transmission. For more information, see kv_transport_compress_func.
- Starting from V4.1.0, the
Description
default_transport_compress_func specifies the RPC compression algorithm for the entire cluster.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | none |
| Value range |
|
| Effective upon OBServer node restart | No |
Examples
Set the RPC compression algorithm for the entire cluster to lz4_1.0.
obclient> ALTER SYSTEM SET default_transport_compress_func = 'lz4_1.0';