Note
- Due to the architecture optimization of OceanBase Database V4.x, each module selects its own compression algorithm instead of using the unified default compression algorithm, and this parameter has been deprecated since OceanBase Database V4.0.0.
- For OceanBase Database V4.x:
- In OceanBase Database V4.1.0 and later, you can use the tenant-level parameter
log_transport_compress_functo specify the algorithm for compressing logs for transmission. - In OceanBase Database V4.2.1 and later, you can use the tenant-level parameter
kv_transport_compress_functo specify the algorithm for compressing OBKV-Table query results for transmission. - none
- lz4_1.0
- snappy_1.0
- zlib_1.0
- zstd_1.0
- zstd_1.3.8
Description
default_transport_compress_func specifies the remote procedure call (RPC) compression algorithm for the entire cluster.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | none |
| Value range | |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
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';