September 25, 2008 at 11:36 am
What is the best way to rebuilding the clustered index? Is this cleaning up the space on the server?
September 25, 2008 at 1:37 pm
I would change the recovery mode to 'Bulk logged' and then run dbcc dbreindex and then change back the recovery mode to Full
this way you don't log those trn's and you log file doesn't grow and you don't have to shrink your log file size.
September 25, 2008 at 2:29 pm
You shouldn't be using DBCC commands for index operations in 2005.
As for the question at hand, what are you going for here? What is the best way to rebuild a clustered index .... during the day? off hours? least amount of contention? Running on enterprise? Based on fragmentation? What is your goal? If there are no considerations, than simply:
ALTER INDEX [IndexName] ON [SchemaName].[TableName] REBUILD
September 25, 2008 at 8:24 pm
Worth a read: Online Indexing Operations in SQL Server 2005
http://www.microsoft.com/technet/prodtechnol/sql/2005/onlineindex.mspx
Need to estimate the space for reindex, etc...
September 26, 2008 at 12:15 pm
We always have people in the system,but I think would do on evening hours when less traffic. Thank you
September 26, 2008 at 12:35 pm
yulichka (9/26/2008)
We always have people in the system,but I think would do on evening hours when less traffic. Thank you
Are you running on enterprise? If so, you can rebuild online.
September 26, 2008 at 12:41 pm
Sorry to ask you a stupid question, how do I know if I am running on enterprise?Thank you
September 26, 2008 at 12:49 pm
yulichka (9/26/2008)
Sorry to ask you a stupid question, how do I know if I am running on enterprise?Thank you
SELECT SERVERPROPERTY('Edition')
September 26, 2008 at 1:09 pm
We are on Microsoft SQL Server Standard Edition (64-bit).Thank you
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply