Bug #89127 Optimize trx_rw_is_active() by tracking the lowest active transaction id
| Submitted: | 7 Jan 2018 14:12 | Modified: | 29 Jan 2018 17:53 |
|---|---|---|---|
| Reporter: | zhai weixiang (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
| Version: | 8.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Contribution | ||
[7 Jan 2018 14:12]
zhai weixiang
[7 Jan 2018 14:13]
zhai weixiang
a simple patch based on 8.0.3 (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: low-active.diff (application/octet-stream, text), 2.08 KiB.
[8 Jan 2018 4:16]
MySQL Verification Team
Hello Zhai Weixiang, Thank you for the report and contribution. Thanks, Umesh
[29 Jan 2018 17:53]
Daniel Price
Posted by developer: Fixed as of the upcoming 8.0.5, 9.0.0 release, and here's the changelog entry: Converting an implicit lock to an explicit lock was optimized by the introduction of a member variable that tracks the smallest active transaction ID. Thanks to Zhai Weixiang for the patch.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.