Answer the question
In order to leave comments, you need to log in
How does mysql clustering or other db cluster work?
Let's say there is a query "SELECT * FROM table LIMIT 1000000". Such a request will be very slow. If I make a cluster architecture, then the same request will become faster due to distribution over servers or not. If not, what does the cluster do, and is it necessary to rewrite all queries after creating the cluster, if you need to rewrite queries for special ones, then what queries should be written?
Answer the question
In order to leave comments, you need to log in
It's just that with basic clustering, we get fault tolerance and synchronous replication of nodes. Therefore, the recording becomes slower. To accelerate further, you need to configure sharding and participation. Partitioning can be done without a cluster
This request will be very slow.
what does the cluster do
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question