Max Tables & Design Pattern

后端 未结 5 619
谎友^
谎友^ 2020-12-18 15:32

I am working on an app right now which has the potential to grow quite large. The whole application runs through a single domain, with customers being given sub-domains, wh

5条回答
  •  鱼传尺愫
    2020-12-18 16:17

    Are you planning to develop a Cloud App?

    I think that you don´t need to make tables or data bases by customer. I recommend you to use a more scalable relational database management system. Personally I don´t know the capabilities of MySQL, but i´m pretty sure that it should support distributed data base model in order to handle the load.

    creating tables or databases per customer can lead you to a maintenance nightmare.

    I have worked with multi-company databases and every table contains customer ids and to access its data we develop views per customer (for reporting purposes)

    Good luck,

提交回复
热议问题