From 95796cca76c5dc2e383d58d6f89e0535d2e50985 Mon Sep 17 00:00:00 2001 From: KinderRiven <1339764596@qq.com> Date: Sun, 5 Jun 2022 17:51:18 +0800 Subject: [PATCH] set default max_query_cache_size --- src/Core/Settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Settings.h b/src/Core/Settings.h index 424e4ca4862..081d5d54ae7 100644 --- a/src/Core/Settings.h +++ b/src/Core/Settings.h @@ -574,7 +574,7 @@ static constexpr UInt64 operator""_GiB(unsigned long long value) M(Bool, enable_filesystem_cache_on_write_operations, false, "Write into cache on write operations. To actually work this setting requires be added to disk config too", 0) \ M(Bool, enable_filesystem_cache_log, false, "Allows to record the filesystem caching log for each query", 0) \ M(Bool, read_from_filesystem_cache_if_exists_otherwise_bypass_cache, false, "", 0) \ - M(UInt64, max_query_cache_size, 1073741824, "Max remote filesystem cache size that can be used by a single query", 0) \ + M(UInt64, max_query_cache_size, (128UL * 1024 * 1024 * 1024), "Max remote filesystem cache size that can be used by a single query", 0) \ \ M(Bool, use_structure_from_insertion_table_in_table_functions, false, "Use structure from insertion table instead of schema inference from data", 0) \ \