disable gather hidden table stats and add estimate block cnt trace point for analyze

This commit is contained in:
wangt1xiuyi
2024-02-10 00:51:46 +00:00
committed by ob-robot
parent d14ea1e8a6
commit 61c367fbce
5 changed files with 11 additions and 5 deletions

View File

@ -151,6 +151,10 @@ int ObAnalyzeTableInfo::fill_table_stat_param(ObExecContext &ctx, common::ObTabl
if (param.part_stat_param_.need_modify_ && param.subpart_stat_param_.need_modify_) {
param.part_stat_param_.can_use_approx_ = true;
}
bool no_estimate_block = (OB_E(EventTable::EN_LEADER_STORAGE_ESTIMATION) OB_SUCCESS) != OB_SUCCESS;
if (no_estimate_block) {
param.need_estimate_block_ = false;
}
}
LOG_TRACE("link bug", K(param));