Is there such a thing as too many tables?

后端 未结 9 1535
孤独总比滥情好
孤独总比滥情好 2021-02-13 00:53

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:14

    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)

提交回复
热议问题