Current situation ~ In master-slave synchronization, the slave database always has slow query logs.
Source: Internet
Author: User
Now we have a situation ~ In master-slave synchronization, there will always be slow query logs in the slave database. for example, if there are 1000 people running this program, there will always be a few & nbsp; It takes 2 seconds to run & nbsp; & nbsp; others are seckilling .. can you tell me this kind of situation... I also thought about whether other concurrent executions were encountered at the time ~ In master-slave synchronization, the slave database always has slow query logs.
On the slave database
For example, 1000 people run this program.
There will always be a few that will take 2 seconds to run, and other people will be seckilling ..
Have you ever encountered this kind of situation?
...
I also thought about whether concurrent execution of other programs affected the running of several people during that period...
But it is still not acceptable...
------ Solution --------------------
This is normal
It is possible that the system is busy during the query, so the record is
If the statement itself is okay, it is acceptable.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service