mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Merge pull request #72555 from ClickHouse/raise_default_for_prealloc_in_ht_optimisation
Raise defaults for preallocation in HTs optimisation
This commit is contained in:
commit
523d3b4af7
@ -4312,14 +4312,14 @@ Result:
|
||||
DECLARE(Bool, collect_hash_table_stats_during_aggregation, true, R"(
|
||||
Enable collecting hash table statistics to optimize memory allocation
|
||||
)", 0) \
|
||||
DECLARE(UInt64, max_size_to_preallocate_for_aggregation, 100'000'000, R"(
|
||||
DECLARE(UInt64, max_size_to_preallocate_for_aggregation, 1'000'000'000'000, R"(
|
||||
For how many elements it is allowed to preallocate space in all hash tables in total before aggregation
|
||||
)", 0) \
|
||||
\
|
||||
DECLARE(Bool, collect_hash_table_stats_during_joins, true, R"(
|
||||
Enable collecting hash table statistics to optimize memory allocation
|
||||
)", 0) \
|
||||
DECLARE(UInt64, max_size_to_preallocate_for_joins, 100'000'000, R"(
|
||||
DECLARE(UInt64, max_size_to_preallocate_for_joins, 1'000'000'000'000, R"(
|
||||
For how many elements it is allowed to preallocate space in all hash tables in total before join
|
||||
)", 0) \
|
||||
\
|
||||
|
@ -60,6 +60,8 @@ static std::initializer_list<std::pair<ClickHouseVersion, SettingsChangesHistory
|
||||
{
|
||||
{"24.12",
|
||||
{
|
||||
{"max_size_to_preallocate_for_aggregation", 100'000'000, 1'000'000'000'000, "Enable optimisation for bigger tables."},
|
||||
{"max_size_to_preallocate_for_joins", 100'000'000, 1'000'000'000'000, "Enable optimisation for bigger tables."},
|
||||
{"parallel_replicas_index_analysis_only_on_coordinator", false, true, "Index analysis done only on replica-coordinator and skipped on other replicas. Effective only with enabled parallel_replicas_local_plan"},
|
||||
{"use_async_executor_for_materialized_views", false, false, "New setting."},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user