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

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
This problem was first fixed in the following cumulative update 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:

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.
Properties

Article ID: 3194959 - Last Review: 12/28/2016 01:09:00 - Revision: 4.0

Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Enterprise Core, Microsoft SQL Server 2014 Standard

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB3194959
Feedback