|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 1:53 PM
Points: 1,
Visits: 107
|
|
Check the MDOP (Max Degree of Parallelism) setting. In the past, I have seen improvement when MDOP is 1 instead of default 0. My understanding was, when parallel threads try to rebuild an index, there would still be fragmentation simply because more people at work, however if there is only 1 thread doing the work, then we would get the optimum results out of ALTER INDEX...REBUILD
ALTER INDEX <index-name> ON <table-name> REBUILD WITH (MAXDOP = 1)
The details are explained in detail in the blog post: http://www.sqlservergeeks.com/blogs/Parikshit/personal/427/does-parallel-plan-for-rebuild-index-impact-the-fragmentation-of-index
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:11 PM
Points: 37,741,
Visits: 30,020
|
|
Please note: 4 year old thread.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|