Skip to content

Commit ebb6baf

Browse files
committed
chore(clickhouse): add size-based compression config for docker-compose.dev.yml
1 parent adac87f commit ebb6baf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<clickhouse>
2+
<compression>
3+
<!-- Use ZSTD for large parts to save space. -->
4+
<case>
5+
<min_part_size>1073741824</min_part_size> <!-- 1GB -->
6+
<min_part_size_ratio>0.01</min_part_size_ratio>
7+
<method>zstd</method>
8+
<level>1</level>
9+
</case>
10+
<!-- Use LZ4 compression for better performance -->
11+
<case>
12+
<method>lz4</method>
13+
</case>
14+
</compression>
15+
</clickhouse>

0 commit comments

Comments
 (0)