Clarify compression codec default

cc @alexey-milovidov
This commit is contained in:
Tanya Bragin 2023-03-19 19:55:51 -07:00 committed by GitHub
parent 4f33033b4d
commit 2639767f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,7 +313,9 @@ Defines storage time for values. Can be specified only for MergeTree-family tabl
## Column Compression Codecs
By default, ClickHouse applies the `lz4` compression method. For `MergeTree`-engine family you can change the default compression method in the [compression](../../../operations/server-configuration-parameters/settings.md#server-settings-compression) section of a server configuration.
By default, ClickHouse applies `lz4` compression in the self-managed version, and `zstd` in ClickHouse Cloud.
For `MergeTree`-engine family you can change the default compression method in the [compression](../../../operations/server-configuration-parameters/settings.md#server-settings-compression) section of a server configuration.
You can also define the compression method for each individual column in the `CREATE TABLE` query.