Bug #92964 | Slave performance degrades over time | ||
---|---|---|---|
Submitted: | 26 Oct 2018 11:57 | Modified: | 18 Sep 2020 19:38 |
Reporter: | Grzegorz Rojek | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S5 (Performance) |
Version: | 5.7.23 | OS: | Debian (8.0, 9.0) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | GTID, multi threaded slave, replication |
[26 Oct 2018 11:57]
Grzegorz Rojek
[12 Dec 2018 18:28]
MySQL Verification Team
Thanks for the report, verified as described Bogdan
[12 Dec 2018 18:28]
MySQL Verification Team
changed severity to performance
[18 Sep 2020 19:38]
Margaret Fisher
Posted by developer: Added changelog entry for MySQL 5.7.32 and 8.0.22: When the system variable session_track_gtids was set to OWN_GTID on a multithreaded replica, the replica’s performance would degrade over time and begin to lag behind the master. The cause was the buildup of the GTIDs recorded by the replica’s worker threads at each transaction commit, which increased the time taken by the worker threads to insert new ones. Session state tracking is now disabled for worker threads on a multithreaded replica. Thanks to Facebook for the contribution.