Answer the question
In order to leave comments, you need to log in
Two sites work with one database, how to speed up the process?
There are two sites on different servers, RU and BY. The content is different, but the product catalog is one.
When adding a product to RU, it must be in BY.
Now BY is configured to connect remotely to MySQL server in RU.
Everything works, but the time of work on BY does not suit - queries are executed in 2-3 seconds.
How to speed up? Will replication help? Or are there other solutions?
Answer the question
In order to leave comments, you need to log in
replication will help, but you don’t need to replicate the entire database
. The replicate-do-table parameter will help
you if you haven’t done replication before, then raise test instances first to get a feel for the logic of work,
but it’s better to separate sites and do custom table synchronization when making changes to the list of products if you control it with your hands
When adding a product to RU, it must be in BY.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question