From 3826f04e09ac3529984955d1ce4d06e9cb9f3cd3 Mon Sep 17 00:00:00 2001 From: Nikita Taranov Date: Wed, 27 Nov 2024 19:04:26 +0100 Subject: [PATCH 1/2] impl --- src/Core/Settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Settings.cpp b/src/Core/Settings.cpp index 2526334d290a..c1dbfff126c5 100644 --- a/src/Core/Settings.cpp +++ b/src/Core/Settings.cpp @@ -4310,14 +4310,14 @@ SELECT * FROM x_dist ORDER BY number ASC; 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) \ \ From 2ac7f0658336383adaddb38ed464e547df2e3d77 Mon Sep 17 00:00:00 2001 From: Nikita Taranov Date: Wed, 27 Nov 2024 19:07:52 +0100 Subject: [PATCH 2/2] add settings change --- src/Core/SettingsChangesHistory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core/SettingsChangesHistory.cpp b/src/Core/SettingsChangesHistory.cpp index 768779c37db6..b9bba5e12cc4 100644 --- a/src/Core/SettingsChangesHistory.cpp +++ b/src/Core/SettingsChangesHistory.cpp @@ -60,6 +60,8 @@ static std::initializer_list