What is considered a “large” table in SQL Server?

后端 未结 6 707
独厮守ぢ
独厮守ぢ 2021-02-01 04:47

I have a table with 10 million records in it. Is that considered a lot of records? Should I be worried about search times? If not, it will keep growing, so what is cons

6条回答
  •  渐次进展
    2021-02-01 05:44

    large is not a useful concept in db design.

    Performance is determined by many things, but the label large is not one of them. Instead, concern yourself with:

    • hardware
    • OS and db configuration
    • schema design
    • indexing
    • query optimization
    • most importantly, testing for yourself on equivalent hardware with equivalent volume of data and under concurrent usage

    Only then you will have an answer that is relevant to you. Beyond this, application design is also a huge factor. N+1 queries and caching can have huge effects on perceived (and real) performance.

提交回复
热议问题