Note
For V4.2.1 BP2, this parameter is available starting with V4.2.1 BP2.
Description
kv_transport_compress_threshold specifies the minimum threshold for the OBKV query result set that needs to be compressed.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | 10K |
| Value range | [0, +∞) |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
You must use this parameter in conjunction with the kv_transport_compress_func parameter. For more information about the kv_transport_compress_func parameter, see kv_transport_compress_func.
Examples
Set the minimum threshold for the OBKV query result set that needs to be compressed to 1M.
obclient> ALTER SYSTEM SET kv_transport_compress_threshold='1M';