> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# network_* session settings

> ClickHouse session settings in the network_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

## network\_compression\_method

Type

String

Default

ZSTD

The codec for compressing the client/server and server/server communication over the native protocol and the response of an HTTP request made with `compress=1`, which uses the same frame format. The streaming exchange between the tasks of a distributed query plan (`make_distributed_plan`) uses [distributed\_plan\_exchange\_compression\_method](https://clickhouse.com/docs/reference/settings/session-settings/distributed-plan.md#distributed_plan_exchange_compression_method) instead.

Possible values:

* `NONE` — no compression.
* `LZ4` — use the LZ4 codec.
* `LZ4HC` — use the LZ4HC codec.
* `ZSTD` — use the ZSTD codec.

**See Also**

* [network\_zstd\_compression\_level](https://clickhouse.com/docs/reference/settings/session-settings/network.md#network_zstd_compression_level)

## network\_zstd\_compression\_level

Type

Int64

Default

3

Adjusts the level of ZSTD compression. Used only when [network\_compression\_method](https://clickhouse.com/docs/reference/settings/session-settings/network.md#network_compression_method) is set to `ZSTD`. The streaming exchange of a distributed query plan uses it only when [distributed\_plan\_exchange\_compression\_method](https://clickhouse.com/docs/reference/settings/session-settings/distributed-plan.md#distributed_plan_exchange_compression_method) is empty.

Possible values:

* Positive integer from 1 to 15.
