[FEAT MERGE]logical plan move to plan cache module add feedback into to plan
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user