Is there such a thing as too many tables?

后端 未结 9 1447
忘了有多久
忘了有多久 2021-02-13 01:01

I\'ve been searching stackoverflow for about an hour now and couldn\'t find any topics related, so I apologize if this is a duplicate question.

My inquiry is this. Is th

9条回答
  •  爱一瞬间的悲伤
    2021-02-13 01:25

    There is such a thing as too many tables, but 40 is nothing like that number. And when people start butting into product limits, then it's usually the point when they need to rethink their design.

    For SQL server, the maximum capacity limits tell you that a DB can contain ~2000000000 tables (if it contains nothing else, has no PKs or constraints of any kind, etc). Needless to say, if you hit this limit, then you're doing something wrong (e.g. you've decided to have 1 table per customer, and somehow you've actually gained a lot of customers)

提交回复
热议问题