Merge pull request #72053 from ClickHouse/document_cache_populated_by_fetch

Documenting MergeTree's cache_populated_by_fetch setting.
This commit is contained in:
Nikita Mikhaylov 2024-11-19 12:31:05 +00:00 committed by GitHub
commit 567270afa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1105,3 +1105,13 @@ Possible values:
Default value: 0.0
Note that if both `min_free_disk_ratio_to_perform_insert` and `min_free_disk_bytes_to_perform_insert` are specified, ClickHouse will count on the value that will allow to perform inserts on a bigger amount of free memory.
## cache_populated_by_fetch
A Cloud only setting.
When `cache_populated_by_fetch` is disabled (the default setting), new data parts are loaded into the cache only when a query is run that requires those parts.
If enabled, `cache_populated_by_fetch` will instead cause all nodes to load new data parts from storage into their cache without requiring a query to trigger such an action.
Default value: 0.