From 16cdd9e95aeecc77dfc9ff675fcc5e12d9516605 Mon Sep 17 00:00:00 2001 From: zhengyu Date: Mon, 17 Apr 2023 18:00:49 +0800 Subject: [PATCH] [feature](segcompaction) enable segcompaction by default (#18722) Signed-off-by: freemandealer --- be/src/common/config.h | 2 +- docs/en/docs/admin-manual/config/be-config.md | 10 +++++----- docs/en/docs/faq/data-faq.md | 4 ++-- docs/zh-CN/docs/admin-manual/config/be-config.md | 10 +++++----- docs/zh-CN/docs/faq/data-faq.md | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/be/src/common/config.h b/be/src/common/config.h index 3f2034191c..976dfd3149 100644 --- a/be/src/common/config.h +++ b/be/src/common/config.h @@ -875,7 +875,7 @@ CONF_String(be_node_role, "mix"); // Hide the be config page for webserver. CONF_Bool(hide_webserver_config_page, "false"); -CONF_Bool(enable_segcompaction, "false"); // currently only support vectorized storage +CONF_Bool(enable_segcompaction, "true"); // Trigger segcompaction if the num of segments in a rowset exceeds this threshold. CONF_Int32(segcompaction_threshold_segment_num, "10"); diff --git a/docs/en/docs/admin-manual/config/be-config.md b/docs/en/docs/admin-manual/config/be-config.md index 821f81b03e..c9443394cf 100644 --- a/docs/en/docs/admin-manual/config/be-config.md +++ b/docs/en/docs/admin-manual/config/be-config.md @@ -7,7 +7,7 @@ } --- -