[CP] [CP]implement query range cost model

This commit is contained in:
zzg19950727
2023-07-19 10:42:16 +00:00
committed by ob-robot
parent c1200c00c8
commit 76c8a644a0
49 changed files with 11680 additions and 11182 deletions

View File

@ -68,6 +68,7 @@ const static double NORMAL_DELETE_PER_ROW_COST = 5.0310162499999995;
const static double NORMAL_DELETE_INDEX_PER_ROW_COST = 6.549611874999999;
const static double NORMAL_DELETE_CHECK_PER_ROW_COST = 59.4583275;
const static double NORMAL_SPATIAL_PER_ROW_COST = 3.2434868757557513;
const static double NORMAL_RANGE_COST = 2.1;
const static double comparison_params_normal[ObMaxTC+1] = {
NORMAL_CMP_INT_COST, // null
@ -152,7 +153,8 @@ const static ObOptEstCostModel::ObCostParams cost_params_normal(
NORMAL_DELETE_PER_ROW_COST,
NORMAL_DELETE_INDEX_PER_ROW_COST,
NORMAL_DELETE_CHECK_PER_ROW_COST,
NORMAL_SPATIAL_PER_ROW_COST
NORMAL_SPATIAL_PER_ROW_COST,
NORMAL_RANGE_COST
);
}