Thursday, May 3, 2018

5 Ways To Examine Cardinality Metrics

In SQL Server the query optimizer uses a cardinality estimator to answer data SELECTIVITY questions like the ones below. The optimizer uses this cardinality data, which relies heavy on statistics to get the answers and calculate a cost estimate. It takes the #of Rows to Satisfy a Predicate/Total # of Input Rows.

source https://www.c-sharpcorner.com/article/5-ways-to-examine-cardinality-metrics/

No comments:

Post a Comment