diff --git a/internal/database/clickhouse.go b/internal/database/clickhouse.go index 7a995e9..b1e664e 100644 --- a/internal/database/clickhouse.go +++ b/internal/database/clickhouse.go @@ -170,6 +170,9 @@ func createClickHouseOptions(cfg *config.ClickHouseConfig, parsedURL *url.URL) * Settings: clickhouse.Settings{ "max_execution_time": cfg.MaxExecutionTime, }, + Compression: &clickhouse.Compression{ + Method: clickhouse.CompressionLZ4, + }, DialTimeout: cfg.DialTimeout, ReadTimeout: cfg.ReadTimeout, }