|
double | anonymous_namespace{estimate_selectivity.cc}::HistogramSelectivity (THD *thd, const Field &field) |
| Return the selectivity of 'field' derived from a histogram, or -1.0 if there was no histogram. More...
|
|
double | anonymous_namespace{estimate_selectivity.cc}::KeyCap (THD *thd, const Field &field, uint key_no) |
| Check if there is a unique index on key number 'key_no' of 'field'. More...
|
|
double | anonymous_namespace{estimate_selectivity.cc}::FindSelectivityCap (THD *thd, const Field &field) |
| Check if there is a unique index on 'field'. More...
|
|
bool | anonymous_namespace{estimate_selectivity.cc}::HasEarlierPermutedPrefix (Bounds_checked_array< const KEY > keys, uint prefix_length) |
| Check if any other key in 'keys' starts with the same 'prefix_length' fields as the last key. More...
|
|
KeySelectivityResult | anonymous_namespace{estimate_selectivity.cc}::EstimateSelectivityFromIndexStatistics (THD *thd, const Field &equal_field, const CompanionSet &companion_set, const TABLE &table, uint key_no) |
|
double | anonymous_namespace{estimate_selectivity.cc}::EstimateEqualPredicateSelectivity (THD *thd, const EqualFieldArray &equal_fields, const CompanionSet &companion_set) |
| Estimate the selectivity of (equi)joining a set of fields. More...
|
|
double | EstimateSelectivity (THD *thd, Item *condition, const CompanionSet &companion_set) |
| For the given condition, to try estimate its filtering selectivity, on a 0..1 scale (where 1.0 lets all records through). More...
|
|