24#ifndef SQL_JOIN_OPTIMIZER_COST_CONSTANTS_H_
25#define SQL_JOIN_OPTIMIZER_COST_CONSTANTS_H_
constexpr double kHashReturnOneRowCost
Definition: cost_constants.h:155
constexpr double kUnitCostInMicroseconds
We define the cost unit for the MySQL hypergraph cost model as follows: A cost of 1....
Definition: cost_constants.h:62
constexpr double kReadOneFieldCost
Cost of per field in the read set.
Definition: cost_constants.h:85
constexpr double kTempTableAggLookupCost
Definition: cost_constants.h:162
constexpr double kHashBuildOneRowCost
Hash join constants.
Definition: cost_constants.h:153
constexpr double kWindowOneRowCost
Definition: cost_constants.h:161
constexpr double kApplyOneFilterCost
Cost of evaluating one filter on one row.
Definition: cost_constants.h:117
constexpr double kReadOneRowCost
Fixed cost of reading a row from the storage engine into the record buffer.
Definition: cost_constants.h:81
constexpr double kIndexLookupPageCost
The cost per page that is visited when performing an index lookup in an InnoDB B-tree.
Definition: cost_constants.h:129
constexpr double kMaterializeOneRowCost
Definition: cost_constants.h:160
constexpr double kSortComparisonCost
Cost per comparison during sorting.
Definition: cost_constants.h:150
constexpr double kIndexLookupFixedCost
Fixed cost of an index lookup when AHI is enabled (default).
Definition: cost_constants.h:132
constexpr double kHashProbeOneRowCost
Definition: cost_constants.h:154
constexpr double kSortOneRowCost
Fixed overhead per input row when sorting.
Definition: cost_constants.h:144
constexpr double kStreamOneRowCost
Definition: cost_constants.h:159
constexpr double kAggregateOneRowCost
In need of calibration.
Definition: cost_constants.h:158
constexpr double kReadOneByteCost
Overhead per byte when reading a row.
Definition: cost_constants.h:95
constexpr double kIndexLookupDefaultCost
Default cost of an index lookup when we are missing information to compute a more accurate cost estim...
Definition: cost_constants.h:138