DBCC INDEXDEFRAG fill

  • I have a huge table which needs reindexing but it has to be online so the only choice I have is INDEXDEFRAG.

    How do I specify a fill factor with INDEXDEFRAG?

    Many thanks

  • Edward,

    Unfortunately you cannot specify a new fill factor for an index during a defrag operation. You'd need to to a rebuild for that.

  • You can change the value of OrigFillFactor column in sysindexes table for that particular index. You have to change it before executing DBCC INDEXDEFRAG.

    SQL DBA.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply