Index maintenance Ola script

  • Hi All,

    Does Ola Hallengren index script takes care of de-fragmenting HEAP tables as well? or just clustered and non-clustered indexes?

    Thanks,

    Sam

  • a heap is a table without an index - it's unordered. You can't reorder something that's not ordered by an index.

  • vsamantha35 wrote:

    Hi All,

    Does Ola Hallengren index script takes care of de-fragmenting HEAP tables as well? or just clustered and non-clustered indexes?

    Thanks,

    Sam

    No, just indexes. It's in the FAQ - under Why are some of my indexes still fragmented:

    Frequently Asked Questions

    Sue

  • Thank you.

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

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