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

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Rebuld Indexes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kuldip
Starting Member

3 Posts

Posted - 06/13/2014 :  02:19:15  Show Profile  Reply with Quote
Can we run rebuld index on table while users are working with the database on sql server 2008r2?

James K
Flowing Fount of Yak Knowledge

3587 Posts

Posted - 06/13/2014 :  08:37:57  Show Profile  Reply with Quote
I assume you are asking about accessibility of the table on which you are rebuilding the index. Yes, you can do an online rebuild but the feature is available only in Enterprise edition (and developer or evaluation version). There are some other restrictions as well, e.g., you cannot do online rebuild on an XML index.

You can reorganize the index online. http://msdn.microsoft.com/en-us/library/ms189858(v=sql.105).aspx
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2043 Posts

Posted - 06/16/2014 :  01:44:08  Show Profile  Visit jackv's Homepage  Reply with Quote
If possible, avoid peak hr index rebuilds as to minimise impact. Are you trying to make this index rebuild due to a recent data change or is it a performance issue?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
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.03 seconds. Powered By: Snitz Forums 2000