[feature](statistics)Support auto analyze columns that haven't been analyzed for a long time. #42399 (#45250)

backport: https://github.com/apache/doris/pull/42399
This commit is contained in:
James
2024-12-12 01:57:44 +08:00
committed by GitHub
parent fb407f2e94
commit 36695e871a
24 changed files with 722 additions and 748 deletions

View File

@ -2764,6 +2764,13 @@ public class Config extends ConfigBase {
public static boolean enable_proxy_protocol = false;
public static int profile_async_collect_expire_time_secs = 5;
@ConfField(mutable = true, description = {
"内表自动收集时间间隔,当某一列上次收集时间距离当前时间大于该值,则会触发一次新的收集,0表示不会触发。",
"Columns that have not been collected within the specified interval will trigger automatic analyze. "
+ "0 means not trigger."
})
public static long auto_analyze_interval_seconds = 86400;
//==========================================================================
// begin of cloud config