add _hash_join_enabled/_optimizer_sortmerge_join_enabled/_nested_loop_join_enabled parameters

This commit is contained in:
ChangerR
2023-08-25 10:10:31 +00:00
committed by ob-robot
parent 410ae92cfe
commit dc3b38fc59
6 changed files with 55 additions and 1 deletions

View File

@ -335,6 +335,16 @@ DEF_BOOL(_ob_enable_dynamic_worker, OB_TENANT_PARAMETER, "True",
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));
DEF_BOOL(_hash_join_enabled, OB_TENANT_PARAMETER, "True",
"enable/disable hash join",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(_optimizer_sortmerge_join_enabled, OB_TENANT_PARAMETER, "True",
"enable/disable merge join",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
//
DEF_BOOL(_nested_loop_join_enabled, OB_TENANT_PARAMETER, "True",
"enable/disable nested loop join",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
// tenant memtable consumption related
DEF_INT(memstore_limit_percentage, OB_CLUSTER_PARAMETER, "50", "(0, 100)",