DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2570501 - Last Review: October 17, 2011 - Revision: 2.0

On This Page

Microsoft distributes Microsoft SQL Server 2008 R2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release.

SYMPTOMS

Consider the following scenario:
  • You run an instance of SQL Server 2008 R2 on a computer that has more than one processor.
  • You run a parallel query against a table that has a large amount of spatial data.

In this scenario, SQL Server 2008 R2 might take a long time to run the query.

Note The issue might occur in one of the following situations:
  • You set the MAXDOP query hint option to a value that is greater than 2.
  • You set the Max Degree of Parallelism option to a value that is greater than 2 in server configuration.

CAUSE

This issue occurs because the spatial index is not used in the query plan.

RESOLUTION



Cumulative update information

SQL Server 2008 R2 Service Pack 1

The fix for this issue was first released in Cumulative Update 3 for SQL Server 2008 R2 Service Pack 1. For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2591748  (http://support.microsoft.com/kb/2591748/ ) Cumulative Update package 3 for SQL Server 2008 R2 Service Pack 1
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2567616  (http://support.microsoft.com/kb/2567616/ ) The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 1 was released

SQL Server 2008 R2


The fix for this issue was first released in cumulative update package 9. For more information about how to obtain this cumulative update package for SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
2567713  (http://support.microsoft.com/kb/2567713/ ) Cumulative update package 9 for SQL Server 2008 R2
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981356  (http://support.microsoft.com/kb/981356/ ) The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released

WORKAROUND

To work around this issue, use one of the following methods:
  • Use the spatial index hint option in the query.
  • Disable the parallel execution plan option for the query.

STATUS

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

MORE INFORMATION

For more information about parallel query processing, visit the following MSDN website:
General information about parallel query processing (http://msdn.microsoft.com/en-us/library/ms178065.aspx)


APPLIES TO
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Express
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Workgroup
  • Microsoft SQL Server 2008 R2 Standard
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2570501
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