DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2927844 - Last Review: April 21, 2014 - Revision: 2.0

This hotfix also applies to Microsoft SQL Server 2014 Analysis Services (SSAS 2014).

On This Page

Symptoms

Assume that you use Microsoft SQL Server 2012 or SQL Server 2014. When you use the DistinctCount function in tabular mode, you encounter the following performance issue:
DistinctCount for a large set become slower when the number of distinct combination is greater than 1M.

Cause

The issue occurs because there is performance issue in the finding and the storing of a distinct combination when the set of distinct combination is greater than 1M.

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014  (http://support.microsoft.com/kb/2931693/ )

Cumulative Update 9 for SQL Server 2012 SP1  (http://support.microsoft.com/kb/2931078/ )

About cumulative updates for SQL Server

Collapse this imageExpand this image
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:
Collapse this imageExpand this image

Status

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

Applies to
  • Microsoft SQL Server 2012 Service Pack 1
  • Microsoft SQL Server 2012 Analysis Services
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2927844
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support