>I don't believe so SELECTIVITY can work well too. Slow queries are usually >related to some strange points in data. I am thinking so well concept should >be based on validity of estimations. Some plans are based on totally wrong >estimation, but should be fast due less sensitivity to bad estimations. So >well concept is penalization some risk plans - or use brute force - like >COLUMN store engine does. Their plan is usually simply and tolerant to bad >estimations.
Disagree. There is a special case of slow query where problem is not with the data but with the expression over the data; something in the query defeats sampled selectivity. Common culprits are: