MobilityDB
1.0
|
◆ calc_hist_selectivity_contained()
Calculate selectivity of "var <@ const" operator, ie. estimate the fraction of ranges that fall within the constant lower and upper bounds. This uses the histograms of range lower bounds and range lengths, on the assumption that the range lengths are independent of the lower bounds. The caller has already checked that constant lower and upper bounds are finite.
|