Bug #84287 | row inserts, statement updates, persistent stats lead to table scans+ lag slaves | ||
---|---|---|---|
Submitted: | 20 Dec 2016 19:30 | ||
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Row Based Replication ( RBR ) | Severity: | S4 (Feature request) |
Version: | 5.7.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[20 Dec 2016 19:30]
Shane Bester
[20 Dec 2016 19:32]
MySQL Verification Team
if the query ran fast on master, we expect them to do the same on slave. the workarounds lead me to believe something odd happens here in the interaction with table stats/replication.
[20 Dec 2016 19:44]
MySQL Verification Team
output of my slave status monitor during first part of a run. notice it gets further behind each second. http://pastebin.com/raw/Dcsf4RYX
[21 Dec 2016 5:12]
MySQL Verification Team
Monitoring of slave: http://pastebin.com/raw/f5H2Vc5m See loops 0 - 62 which is from 21:20:58 to 21:31:18. This is when the test was running on master (11 mins). Slave took until 00:01:59 to catch up (2.5 hours).
[3 May 2017 13:49]
MySQL Verification Team
Hi! This turned out not to be a bug, since this was a matter of slave not updating InnoDB statistics. However, a new feature is designed that would remedy this problem. However, this is a new feature and would, therefore have another scheduling and another treatment.