New cardinality estimator (SQL Server 2014) is way off

后端 未结 3 1034
我寻月下人不归
我寻月下人不归 2021-02-05 08:37

I have a data warehouse database and I\'m facing problems with the new cardinality estimator of SQL Server 2014.

After upgrading the database server to SQL Server 2014 I

3条回答
  •  别那么骄傲
    2021-02-05 08:46

    This is not a direct answer to this question but it might help those who are facing similar performance issue related to that SCCM (aka ConfigMgr) database pertaining to Cardinality Estimator (CE) changes. SQL queries can timeout or your ConfigMgr console can run slow because of the new Cardinality Estimator (CE) changes in SQL Server 2014 and SQL Server 2016. Microsoft has given a solution to this problem here which suggests to apply an appropriate SQL Cardinality Estimator (CE) compatibility level as shown in the table below:

    SQL Server version    Supported compatibility       Recommended compatibility   
                          level values                  level for ConfigMgr
    
    SQL Server 2016       130, 120, 110, 100            130 
    
    SQL Server 2014       120, 110, 100                 110
    

    Hope this helps!

提交回复
热议问题