Max size of an index

  • I was asked this question and I'm embarrassed to say I didn't know the answer. I know that an index key size has a limit of 900 bytes and that you can have up to 16 key columns and that you can only have 999 nonclustered indexes defined on a single table...what I didn't know what the size limit (if there is one) imposed on the physical size of the index itself? If a DB size constraint is 524TB, is that also the constraint of an index?

  • Only limit on the size of an index is the available storage size, just like with tables.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • I figured but wasn't 100% sure. Thanks.

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

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