Clustered primary key on unique identifier ID column in SQL Server

前端 未结 4 496
栀梦
栀梦 2020-12-06 22:43

If your ID column on a table is a unique identifier (Guid), is there any point creating a clustered primary key on the ID column?

Given that they a

4条回答
  •  情书的邮戳
    2020-12-06 23:29

    I strongly advise against using clustered Guid key... We had big performance issues on SQL server because of such poor design a few years ago.

    Also check out: Improving performance of cluster index GUID primary key

提交回复
热议问题