SQL Server Best Practices Article
Published: April 17, 2008
Writer: Denny Lee
Contributors: Richard Tkachuk, Akshai Mirchandani, Sasha (Alexander) Berger, Thomas Kejser, Stuart Ozer
Technical Reviewers: Steve Pontello, Lindsey Allen, Lubor Kollar, Nicholas Dritsas, Ricardo Silva, Dave Wickert, Anne Zorner
Applies To: SQL Server 2005 SP2
Note: The tests in this white paper were performed using SQL Server 2005 SP2; however, they also apply to SQL Server 2008.
Distinct count (such as unique visitor counts on a Web site) calculations provide valuable information but come with a number of performance challenges. This white paper describes tests that were performed to determine how best to optimize these calculations and includes best practices based on the test results.
For more information, please refer to the Analysis Services Distinct Count Optimization whitepaper.