Note
- Due to the architectural optimization in V4.x, each module now independently controls its compression algorithm, and the default_transport_compress_func parameter was removed starting from V4.0.0.
- For 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 about thelog_transport_compress_funcparameter, 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 results in V4.2.x. In V4.3.x, thetableapi_transport_compress_funccluster-level parameter is used to control the compression algorithm for OBKV-Table query results. For more information about thetableapi_transport_compress_funcparameter, see tableapi_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 |
|---|---|
| Parameter type | String |
| Default value | none |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| 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';
