Note
This parameter is available starting with V4.2.1 BP2.
Overview
kv_transport_compress_threshold specifies the minimum threshold for the OBKV query result set that requires compression.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Capacity |
| Default Value | 10K |
| Value range | [0,+∞) |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No. The setting takes effect immediately. |
Usage instructions
This parameter must be used together with the kv_transport_compress_func parameter. For more information about the kv_transport_compress_func parameter, see kv_transport_compress_func.
Configuration example
Specifies the minimum threshold for compressing the result set of an OBKV query as 1 MB.
obclient> ALTER SYSTEM SET kv_transport_compress_threshold='1M';
