Note
For V4.5.x, this parameter is available starting with V4.5.0.
Description
kv_transport_compress_func specifies the compression algorithm used to compress the query results of OBKV-Table.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | none |
| Value range |
NoteStarting from V4.5.0, the value zstd 1.5.7 is added to this parameter. |
| 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. |
Examples
Set the compression algorithm used to compress the query results of OBKV-Table to lz4_1.0.
obclient> ALTER SYSTEM SET kv_transport_compress_func = 'lz4_1.0';
