SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 SQL 2008 DROP Index Overhead?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

6 Posts

Posted - 01/10/2011 :  17:07:16  Show Profile  Reply with Quote
Should I expect there to be any large overhead with actually running a drop index statement? I'm just planning ahead before I run it but want to make sure it won't affect any users when I'm running it. The indexes I will be removing are no longer used and exist on a very large table (187 million rows).

Almighty SQL Goddess

38119 Posts

Posted - 01/10/2011 :  17:10:35  Show Profile  Visit tkizer's Homepage  Reply with Quote
Are you running Enterprise edition? If so, then you can use ONLINE=ON option.

Otherwise, blocking is going to occur. ONLINE=OFF is the default. Here is what BOL says about offline mode:


Table locks are applied and the table is unavailable for the duration of the index operation.

See DROP INDEX in BOL for more details.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000