v.24.11Improvement

Add setting for max file segment size in background download cache

Add a separate setting background_download_max_file_segment_size for background download max file segment size in filesystem cache. #71648 (Kseniia Sumarokova).
Introduces a new setting background_download_max_file_segment_size to control the maximum file segment size used during background downloads in the ClickHouse filesystem cache.

Why it matters

This feature allows finer control over background download operations in the filesystem cache by limiting the size of file segments downloaded in the background. It helps optimize cache management and resource usage, improving system efficiency and performance when dealing with large files.

How to use it

To enable or configure this feature, set the background_download_max_file_segment_size parameter in your ClickHouse server configuration. Adjust the value to specify the maximum segment size (in bytes) for background file downloads within the filesystem cache.