Multiple databases vs a single database

后端 未结 5 1164
迷失自我
迷失自我 2020-12-17 22:14

I\'m looking at an existing site and they are using separate databases. The databases seem to be setup in the following manner:

  • general types (user_type, langu
5条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 22:41

    Purely speculation on what was in the minds of the creators:

    Maybe a difference in the volitilaty of the data, so that there could be a different backup/replication strategy for the different physical dbs?

    Maybe an idea that say, "general types" could be shared across multiple applications but the "site configuration", for example, would be specific to just one application?

    Maybe an idea that the different databases could be put on different pieces of hardware that have different performance characteristics, like their RAID configuration. Data that is read a lot but not updated versus data that is updated a lot.

    Again, pure speculation...

    @Darryl - my answer is more archeology than technology. I'm not saying I buy any of it. I'm just trying to step into the mindset of the ancestors...

提交回复
热议问题