Files
datastore/programs
Alexey MilovidovandClaude Opus 4.8 fb2eca2cfd Make clickhouse-local temporary storage limit configurable
`clickhouse-local` hard-coded the temporary storage limit to `1 GiB`,
which is limiting when spilling to disk, e.g. during an external merge
sort with a low `max_bytes_before_external_sort`.

Honor the existing `max_temporary_data_on_disk_size` server setting
instead. Unlike the regular server, `clickhouse-local` stores temporary
data in the system temporary directory by default, which can be small
(and is sometimes backed by RAM), so the conservative `1 GiB` default is
kept when the setting is not specified. It can now be raised, or lifted
entirely with a value of `0`, via the configuration file.

Closes: https://github.com/ClickHouse/ClickHouse/issues/101697

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-10 00:41:03 +00:00
..