From bef55390157f3848966337a289e64c246a5cd9e8 Mon Sep 17 00:00:00 2001 From: loneylee Date: Tue, 10 Sep 2024 17:37:50 +0800 Subject: [PATCH] Fix performance issue --- cpp-ch/local-engine/Common/CHUtil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp-ch/local-engine/Common/CHUtil.cpp b/cpp-ch/local-engine/Common/CHUtil.cpp index 68ed66c45f6b..b702082d6ff3 100644 --- a/cpp-ch/local-engine/Common/CHUtil.cpp +++ b/cpp-ch/local-engine/Common/CHUtil.cpp @@ -722,6 +722,7 @@ void BackendInitializerUtil::initSettings(std::map & b settings.set(MERGETREE_MERGE_AFTER_INSERT, true); settings.set(MERGETREE_INSERT_WITHOUT_LOCAL_STORAGE, false); settings.set(DECIMAL_OPERATIONS_ALLOW_PREC_LOSS, true); + settings.set("remote_filesystem_read_prefetch", false); for (const auto & [key, value] : backend_conf_map) {