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:
- Cumulative Update 4 for SQL Server 2019
- Cumulative Update 20 for SQL Server 2017
- Cumulative Update 12 for SQL Server 2016 SP2
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: