Bug #121266 Optimizer misses cheaper join order when range predicate is only available through join equality
Submitted: 11 Sep 3:29 Modified: 11 Sep 3:52
Reporter: Zack Morgan Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S5 (Performance)
Version:9.7.1 OS:Ubuntu (22.04.4 LTS)
Assigned to: CPU Architecture:x86 (Intel(R) Xeon(R) Gold 5220 CPU @ 2.20GHz)
Tags: join-equality, join-order, Optimizer, performance, predicate-propagation

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[11 Sep 3:30] Zack Morgan
Test case (sql file and output file).

Attachment: mysql_join_equality_range_predicate_repro.zip (application/x-zip-compressed, text), 13.52 KiB.