Pros/Cons Using multiple databases vs using single database

前端 未结 4 906
不思量自难忘°
不思量自难忘° 2020-12-16 14:26

I need to design a windows application which represents multiple \"customers\" in SQL Server. Each customer has the same data model, but it\'s independent.

what will

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-16 15:20

    One day your developer will screw up something and one customer will access info of another customer. You will lose your customers as result. This alone should tell you that multiple customers can't be in one data base. no one will want to be your customer if they know this.

    Do I have to really go over all issues that will eventually happen if this is the case? The answer is simple here - NO. You don't want to have information of multiple customers in the same database.

    Only time that this happens is if you have multiplexer database to keep track of customer logons, sessions, etc. But data used and stored by customers should be in the dedicated database.

提交回复
热议问题