MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 成员函数 | Private 属性 | 所有成员列表
CostModel类 参考

cost model in cost-based optimization(CBO) 更多...

#include <cost_model.h>

Public 成员函数

double cpu_op ()
 cpu cost of building hash table
 
double hash_cost ()
 cpu cost of finding hash bucket
 
double hash_probe ()
 cpu cost of finding index
 
double index_probe ()
 i/o cost
 
double io ()
 
double calculate_cost (Memo *memo, GroupExpr *gexpr)
 

Private 属性

double CPU_OP = 0.00002
 
double HASH_COST = 0.00002
 
double HASH_PROBE = 0.00001
 
double INDEX_PROBE = 0.00001
 
double IO = 0.03
 

详细描述

cost model in cost-based optimization(CBO)


该类的文档由以下文件生成: