SQL Server Efficiently dropping a group of rows with millions and millions of rows

前端 未结 13 544
遇见更好的自我
遇见更好的自我 2021-02-04 12:26

I recently asked this question: MS SQL share identity seed amongst tables (Many people wondered why)

I have the following layout of a table:

Table: Star

13条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 13:32

    Maybe on the Stars table set the PK to non-clustered and add a clustered index on categoryid.

    Other than that, is the server setup well done regarding best practices for performance? That is using separate physical disks for data and logs, not using RAID5, etc.

提交回复
热议问题