[CP] [CP]implement query range cost model
This commit is contained in:
@ -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
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user