- You run an ALTER INDEX … ONLINE query in Microsoft SQL Server 2012 or SQL Server 2014.
- This query is aborted either because of a deadlock or a user-initiated action, such as running a kill command or canceling the query.
Additionally, you may experience the following symptoms:
- Elevated values for the PWAIT_MD_RELATION_CACHE or MD_LAZYCACHE_RWLOCK wait type when you query the sys.dm_os_wait_stats and sys.dm_exec_requests dynamic management views (DMV)
- Elevated values for SOS_RW wait type when you query the sys.dm_os_spinlock_stats DMV
Cumulative update informationThe issue was first fixed in the following cumulative update of SQL Server.
Hotfix information A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional problems occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and problems that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Important After you apply this hotfix, the ALTER INDEX … ONLINE query can be aborted without decreasing the performance of SQL Server.
- Restart the instance of SQL Server 2012 or SQL Server 2014.
- Put the problematic database into offline state, and then bring it online again.
Article ID: 2926712 - Last Review: 21 Apr 2014 - Revision: 1