Note
This parameter is introduced since OceanBase Database V4.2.1 BP2.
Description
kv_transport_compress_threshold specifies the minimum compression threshold for OBKV query results.
Attributes
| Attribute | Description |
|---|---|
| Type | CAPACITY |
| Default value | 10 KB |
| Value range | [0, +∞) |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No |
Considerations
This parameter must be used together with kv_transport_compress_func. For more information about kv_transport_compress_func, see kv_transport_compress_func.
Examples
obclient> ALTER SYSTEM SET kv_transport_compress_func="lz4_1.0";
ALTER SYSTEM SET kv_transport_compress_threshold='1M';