![]() |
MySQL 9.5.0
Source Code Documentation
|
This class represents the cost of a hash join (excluding the cost of sub-paths). More...
#include <cost_model.h>
Public Member Functions | |
| HashJoinCost (THD *thd, const HashJoinMetrics &metrics) | |
| double | spill_to_disk_probability () const |
| double | init_cost () const |
| double | cost () const |
Private Attributes | |
| double | m_spill_to_disk_probability |
| The probability (range [0.0, 1.0]) of needing spill to disk. More... | |
| double | m_init_cost |
| The cost of preparing to produce the first result row. More... | |
| double | m_cost |
| The cost of the hash join. More... | |
This class represents the cost of a hash join (excluding the cost of sub-paths).
| HashJoinCost::HashJoinCost | ( | THD * | thd, |
| const HashJoinMetrics & | metrics | ||
| ) |
|
inline |
|
inline |
|
inline |
|
private |
The cost of the hash join.
|
private |
The cost of preparing to produce the first result row.
|
private |
The probability (range [0.0, 1.0]) of needing spill to disk.