[FEAT MERGE] implement dynamic sampling

This commit is contained in:
wangt1xiuyi
2023-04-27 12:15:28 +00:00
committed by ob-robot
parent 56f85c9c76
commit f745b47cbc
86 changed files with 6754 additions and 2282 deletions

View File

@ -357,6 +357,9 @@ DEF_BOOL(_enable_convert_real_to_decimal, OB_TENANT_PARAMETER, "False",
DEF_BOOL(_ob_enable_dynamic_worker, OB_TENANT_PARAMETER, "True",
"specifies whether worker count increases when all workers were in blocking.",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_INT(_optimizer_ads_time_limit, OB_TENANT_PARAMETER, "10", "[0, 300]",
"the maximum optimizer dynamic sampling time limit. Range: [0, 300]",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
// tenant memtable consumption related
DEF_INT(memstore_limit_percentage, OB_CLUSTER_PARAMETER, "50", "(0, 100)",