A little further tweaking of the range-query selectivity logic:
to avoid undue sensitivity to roundoff error, believe that a zero or slightly negative range estimate should represent a small positive selectivity, rather than falling back on a generic default estimate.
Showing
Please register or sign in to comment