[FEAT MERGE]: online optimizer stats gather.

Co-authored-by: obdev <obdev@oceanbase.com>
This commit is contained in:
Monk-Liu
2023-01-28 13:54:38 +08:00
committed by ob-robot
parent 735401c8d7
commit 9484175163
74 changed files with 3416 additions and 85 deletions

View File

@ -50,6 +50,7 @@
#include "ob_log_err_log.h"
#include "ob_log_stat_collector.h"
#include "ob_del_upd_log_plan.h"
#include "ob_log_optimizer_stats_gathering.h"
using namespace oceanbase;
using namespace oceanbase::sql;
using namespace oceanbase::sql::log_op_def;
@ -342,6 +343,13 @@ ObLogicalOperator *ObLogOperatorFactory::allocate(ObLogPlan &plan, ObLogOpType t
}
break;
}
case LOG_OPTIMIZER_STATS_GATHERING: {
ptr = allocator_.alloc(sizeof(ObLogOptimizerStatsGathering));
if (NULL != ptr) {
ret_op = new (ptr) ObLogOptimizerStatsGathering(plan);
}
break;
}
default: {
break;
}