MySQL 8.0.37
Source Code Documentation
estimate_selectivity.h File Reference
#include <string>

Go to the source code of this file.

Functions

double EstimateSelectivity (THD *thd, Item *condition, std::string *trace)
 For the given condition, to try estimate its filtering selectivity, on a 0..1 scale (where 1.0 lets all records through). More...
 

Function Documentation

◆ EstimateSelectivity()

double EstimateSelectivity ( THD thd,
Item condition,
std::string *  trace 
)

For the given condition, to try estimate its filtering selectivity, on a 0..1 scale (where 1.0 lets all records through).