Hi,
Also check this if help:
https://www.sqlshack.com/join-containment-assumption-and-ce-model-variation/
Containment (Simple) vs Containment (base):
Containment (Simple) vs Containment (base):
Containment (Simple): Users query for data that exists. For example, for an equality join between two tables, factor in the predicates selectivity1 in each input histogram, before joining histograms to estimate the join selectivity
Simple Containment becomes Base Containment: Users might query for data that does not exist. For example, for an equality join between two tables, we use the base tables histograms to estimate the join selectivity, and then factor in the predicates selectivity.
still confusing what's the difference . any example ?
-
Cris Zhan-MSFT 6,636 Reputation points
2020-08-27T06:20:42.917+00:00
2 additional answers
Sort by: Most helpful
-
Erland Sommarskog 112.7K Reputation points MVP
2020-08-26T21:59:58.703+00:00 So have you read Joe Sack's white paper on the new cardinality estimator yet?
https://learn.microsoft.com/en-us/previous-versions/dn673537(v=msdn.10)?redirectedfrom=MSDN -
sakuraime 2,326 Reputation points
2020-08-28T17:19:37.053+00:00 so it's only applicable to "inner join" , the examples are inner joins