Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Assume that you create a columnstore index on a table that has a clustered index and has no non-clustered index in Microsoft SQL Server 2012 or SQL Server 2014. When you run UPDATE STATISTICS on the clustered index, incorrect sample percent is applied, and the histogram steps do not represent the correct data distribution. You can view the result by running the following command after you update the statistics:

DBCC SHOW_STATISTICS ( table_or_indexed_view_name , target ) WITH STAT_HEADER

In this situation, the statistical updating might take a longer time, and the incorrect histogram steps can cause sub-optimal query execution plans.

Note This issue also occurs in SQL Server 2012 Cumulative Update 8 (CU8) or the later versions.

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:


Workaround

To work around this issue, add a non-clustered index on the table.

Status

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×