[FEAT MERGE]logical plan move to plan cache module add feedback into to plan

This commit is contained in:
zzg19950727
2023-04-18 11:41:58 +00:00
committed by ob-robot
parent e392fc2a37
commit 8daff3e658
122 changed files with 45692 additions and 43707 deletions

View File

@ -23,8 +23,6 @@ const double LN_2 = 0.69314718055994530941723212145818;
const double DEFAULT_CACHE_HIT_RATE = 0.8;
const double VIRTUAL_INDEX_GET_COST = 20;
const int64_t DEFAULT_ROW_SIZE = 200;
const int64_t DEFAULT_COLUMN_SIZE = 10;
@ -69,11 +67,6 @@ const double DEFAULT_SPATIAL_SEL = 0.25;
*/
const double DEFAULT_SEL = 0.5;
///Update一行数据的代价.暂时写的
const int64_t UPDATE_ONE_ROW_COST = 1;
///DELETE一行数据的代价.暂时写的
const int64_t DELETE_ONE_ROW_COST = 1;
// [agg(expr) <|>|btw cosnt]的默认选择率,参考oracle
const double DEFAULT_AGG_RANGE = 0.05;
// [aggr(expr) = const]的默认选择率,参考oracle