Bug #96875 | add a option to disable InnoDB undo log purge | ||
---|---|---|---|
Submitted: | 14 Sep 2019 10:59 | Modified: | 21 Oct 2019 12:11 |
Reporter: | Zongzhi Chen (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[14 Sep 2019 10:59]
Zongzhi Chen
[8 Oct 2019 14:06]
MySQL Verification Team
Hi, Thank you for your feature request. I do not think that what you are asking for is feasible, simply because undo log could overflow if not purged.
[16 Oct 2019 12:24]
Zongzhi Chen
Yep, If don't purge, the undo log could overflow.. And this configure should not use in online environment. However, when running sysbench, the background undo-purge may affect the performance.In order to avoid the affect, add a option is good solution..
[16 Oct 2019 12:42]
MySQL Verification Team
Hi Mr. Zongzhi, I am afraid that disabling undo log purge might have devastating effects on many installation. That is why I consider that this feature request would be denied.
[18 Oct 2019 20:33]
Zongzhi Chen
However, when running some benchmark, people really need it. This why I said that add an option to control it, and the default behavior is open the undo purge.
[21 Oct 2019 12:11]
MySQL Verification Team
Hi Mr. zongzhi, We had an internal discussion with InnoDB team on various matters, including this one. We all agreed that this feature would be a VERY dangerous one, if implemented. On the other hand, anybody who wants to reduce the level of load from the purge, can right now use the max purge lag parameter to practically disable purge.