Home > Back-end >  In order to solve the burden of the database server, database distribution of how to do? Please give
In order to solve the burden of the database server, database distribution of how to do? Please give

Time:12-12

In order to solve the burden of the database server, database distribution of how to do? Please teach

CodePudding user response:

Emmm never play, usually is the cache redis

CodePudding user response:

Vertical depots put table in the different libraries according to the business module library so you can have multiple
Horizontal depots table always a field as the table primary key distribution in different libraries, reference sharding - JDBC
Read and write more than a master database replication, separation, wrote the main library, read the Shared library according to the weight
  • Related