Get the App
SLTechnology News&Howtos  ›  Database  › 

Using DB business split to solve the problem of high writing pressure

Shulou Source: shulou.com Published: 2022-06-01 14:14:42 10月25日 Update

With mysql copy and read and write separation to solve the problem of reading pressure, then write pressure can also be copied to solve?

The answer is no:

Use cache merge to write multiple times into one time, for example: the number of views can be written into redis, and then write mysql once it reaches n.

Splitting databases into unused server clusters:

Reasonably design libraries and tables to avoid splitting operations after cross-database queries:

Create new db clusters on demand

Synchronously split db into new clusters

Migrate database accounts to corresponding new clusters

Modify an app's data connection

delete chain

Tags: Cluster data pressure database question no quantity server answer cache account demand innovation synchronization application service query browsing design business Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Linux Redmi OPPO Reno macOS