FIX: The clustered index table may take longer than you expect to be rebuilt when you use the ALTER INDEX REBUILD statement in SQL Server

Bug #: 50003456 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2008 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 fix release.

Symptoms

In Microsoft SQL Server 2008, SQL Server 2012, or SQL Server 2014, you use the ALTER INDEX REBUILD statement during index maintenance on a clustered index table. When you do this, the clustered index table may take longer than you expect to be rebuilt.

Cause

This issue occurs when the clustered index table contains file stream data. When the clustered index table is rebuilt, unnecessary copy operations are performed on the file stream data. The unnecessary copy operations make the rebuild operation slower.

Resolution

The fix for this issue was first released in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014

Cumulative Update 8 for SQL Server 2012 SP1

Cumulative Update 1 for SQL Server 2008

About cumulative updates for SQL Server

Workaround

To work around this issue, follow these steps:
  1. Drop the clustered index.


    You can use the
    DROP INDEX statement to drop the clustered index. For more information about the
    DROP INDEX statement, visit the following Microsoft Developer Network (MSDN) Web site:
  2. Create a new clustered index.


    You can use the
    CREATE INDEX statement to create a new clustered index. For more information about the
    CREATE INDEX statement, visit the following MSDN Web site:

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 what files are changed, and for information about any prerequisites to apply the cumulative update package that contains the hotfix that is described in this Microsoft Knowledge Base article, click the following article number to view the article in the Microsoft Knowledge Base:
956717 Cumulative update package 1 for SQL Server 2008

References

For more information about the list of builds that are available after the release of SQL Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:

956909 The SQL Server 2008 builds that were released after SQL Server 2008 was released

For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:

935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems

For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packages

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
속성

문서 ID: 957823 - 마지막 검토: 2014. 4. 21. - 수정: 1

피드백