Bug #116241 | Potential Performance Improvement on TPC-H | ||
---|---|---|---|
Submitted: | 26 Sep 2024 10:05 | Modified: | 25 Oct 2024 11:01 |
Reporter: | JINSHENG BA | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
Version: | 596f0d23 (9.0.0), 9.1.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Sep 2024 10:05]
JINSHENG BA
[27 Sep 2024 2:42]
tianfeng li
I think these two plans are the same. The only difference is whether the subselect is to be executed in optimization phase. For the first plan, subselect is executed in execution phase, thus be calculated in EXPLAIN ANALYZE, while the second plan's subselect is executed in optimization phase and its execution time was not shown in EXPLAIN ANALYZE. Try a normal execution maybe ^.^
[29 Sep 2024 8:39]
JINSHENG BA
Thanks for your reply! I tried a normal execution with a 1GB of data of TPC-H. However, the execution time fluctuates over executions. Sometimes, the original version of MYSQL is one second slower than the patched one, while I also observed similar execution time in some executions. I am not very sure, so is there any way to obtain a stable execution time?
[16 Oct 2024 6:01]
MySQL Verification Team
Hello Jinsheng Ba, Thank you for the report and feedback. My apologies for the delay. Could you please share exact make options used for the build, MySQL server configurations file used? If it is same as Bug #116309 then please ignore this request. Thank you. regards, Umesh
[25 Oct 2024 11:01]
MySQL Verification Team
Thank you for being patient with me on this. I'm not sure how much this patch fixes the issue but observed the behaviour and hope that development team would take a look at this and take a call further on the suggested patch. I'll be joining the verification results file shortly. Thank you. regards, Umesh
[25 Oct 2024 11:02]
MySQL Verification Team
9.1.0 - test results (with and without the suggested patch)
Attachment: 116241.results.txt (text/plain), 7.64 KiB.