KB4543027 - FIX: Parallel sampled filtered statistics may cause incorrect histogram scaling in SQL Server

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core


Assume that you create a filtered statistic in Microsoft SQL Server. Ifthe filtered statistics creation or update is sampled and uses a parallel planinternally, the resulting histogram may be scaled incorrectly, as seen from output of DBCC SHOW_STATISTICS. Additionally, the header for DBCC SHOW_STATISTICS mayincorrectly show that the value for "Rows Sampled" is equal to the value for "Rows" instead of correctly showing that "Rows Sampled" is less than the valuefor "Rows."


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. 


This issue is fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.