Article ID: 2896720 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

When you try to build an index (by using CREATE INDEX or ALTER INDEX) on a spatial data type of a large table, Microsoft SQL Server 2012 or SQL Server 2014 may perform poorly. You can find many spinlock contentions on SOS_CACHESTORE and SOS_SELIST_SIZED_SLOCK.

Note This issue typically occurs when there are many parallel spatial data operations.

Resolution

The issue was first fixed in the following cumulative update of SQL Server. After you apply the hotfix, you have to enable a new trace flag 6530 that is introduced for this hotfix.

Cumulative Update 1 for SQL Server 2014

Cumulative Update 7 for SQL Server 2012 SP1

About cumulative updates for SQL Server

Collapse this imageExpand this image
assets folding start collapsed
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
assets folding end collapsed

More information

For more information about the similar performance issue, click the following article numbers to view the articles in the Microsoft Knowledge Base:
2887888 FIX: Slow performance in SQL Server when you build an index on a spatial data type of a large table in a SQL Server 2012 instance
2887899 FIX: Slow performance in SQL Server 2012 when you build an index on a spatial data type of a large table

Status

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

Properties

Article ID: 2896720 - Last Review: April 21, 2014 - Revision: 2.0
Applies to
  • Microsoft SQL Server 2012 Service Pack 1, when used with:
    • Microsoft SQL Server 2012 Developer
    • Microsoft SQL Server 2012 Enterprise
    • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2014 Developer
  • Microsoft SQL Server 2014 Enterprise
  • Microsoft SQL Server 2014 Standard
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2896720

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com