Bug #113688 reduce memory usage for purge

Submitted: 19 Jan 2024 3:49 Modified: 19 Jan 2024 5:26
Reporter: alex xing (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S5 (Performance)
Version:8.0.32 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[19 Jan 2024 3:49] alex xing
Description:
If the table does not have a secondary index, there is no need to allocate memory for the secondary index's purge

How to repeat:
just read the code

Suggested fix:
optimize as the below patch
[19 Jan 2024 3:49] alex xing
a simple patch to describe the optimization based on 8.0.32

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: purge_memory_optimize.patch (text/plain), 2.33 KiB.

[19 Jan 2024 5:26] MySQL Verification Team
Hello Alex Xing,

Thank you for the report and contribution.

regards,
umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 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.