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

前端 未结 13 555
遇见更好的自我
遇见更好的自我 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条回答
  •  梦毁少年i
    2021-02-04 13:25

    I know this is a bit of a tangent, but is SQL Server (or any relational database) really a good tool for this job? What relation database features are you actually using?

    If you are dropping whole categories at a time, you can't have much referential integrity depending on it. The data is read only, so you don't need ACID for data updates.

    Sounds to me like you are using basic SELECT query features?

提交回复
热议问题