KB3194959 - Statistics are removed after rebuilding a specific partition of a partitioned aligned index on a partitioned table in SQL Server

Applies To
SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Enterprise Core - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use) SQL Server 2016 Service Pack 1

Symptoms

Assume that you create a partition-aligned index for a partitioned table in an instance of SQL Server. When you rebuild the index on that specific partition, the statistics of the index are lost. This issue occurs in the following scenarios.

Scenario 1

  • You have a partitioned table.
  • You have a partitioned index with the STATISTICS_INCREMENTAL option turned OFF.

When you do an Online Index Rebuild on a specific partition, statistics on the underlying table are lost.

Scenario 2

  • You have a partitioned table.
  • You have a partitioned index with the STATISTICS_INCREMENTAL option turned ON.

When you do an Index Rebuild on a specific partition, statistics on the underlying table are lost.

Resolution

The issue is fixed in the following cumulative updates for SQL Server:

    Cumulative Update 2 for SQL Server 2016 SP1

Cumulative Update 4 for SQL Server 2016
        
        Cumulative Update 9 for SQL Server 2014 Service Pack 1
        
        Cumulative update 3 for SQL Server 2014 SP2

About 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:

Latest cumulative update for SQL Server 2014 SP1/SP2
        
        Latest cumulative update for SQL Server 2016

Status

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

References

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