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
About 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: 17 ມ.ກ. 2017 - Revision: 3

Feedback