mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
30 lines
1.5 KiB
XML
30 lines
1.5 KiB
XML
<clickhouse>
|
|
<compression>
|
|
<case>
|
|
<!-- Conditions. All must be satisfied simultaneously. Some conditions may not be specified. -->
|
|
<min_part_size>0</min_part_size> <!-- The minimum size of a part in bytes. -->
|
|
<min_part_size_ratio>0</min_part_size_ratio> <!-- The minimum size of the part relative to all the data in the table. -->
|
|
<!-- Which compression method to choose. -->
|
|
<method>zstd</method>
|
|
<level>10</level>
|
|
</case>
|
|
|
|
<case>
|
|
<!-- Conditions. All must be satisfied simultaneously. Some conditions may not be specified. -->
|
|
<min_part_size>1024</min_part_size> <!-- The minimum size of a part in bytes. -->
|
|
<min_part_size_ratio>0</min_part_size_ratio> <!-- The minimum size of the part relative to all the data in the table. -->
|
|
<!-- Which compression method to choose. -->
|
|
<method>lz4hc</method>
|
|
<level>5</level>
|
|
</case>
|
|
<case>
|
|
<!-- Conditions. All must be satisfied simultaneously. Some conditions may not be specified. -->
|
|
<min_part_size>11024</min_part_size> <!-- The minimum size of a part in bytes. -->
|
|
<min_part_size_ratio>0</min_part_size_ratio> <!-- The minimum size of the part relative to all the data in the table. -->
|
|
<!-- Which compression method to choose. -->
|
|
<method>lz4</method>
|
|
</case>
|
|
|
|
</compression>
|
|
</clickhouse>
|