Bug #117666 | EXPLAIN FORMAT=TREE does not say the index is covering, unlike plain EXPLAIN | ||
---|---|---|---|
Submitted: | 11 Mar 10:59 | Modified: | 25 Mar 22:52 |
Reporter: | Guilhem Bichot | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 8.0.41 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[11 Mar 10:59]
Guilhem Bichot
[11 Mar 11:08]
MySQL Verification Team
Hello Guilhem, Thank you for the report and test case. regards, Umesh
[13 Mar 16:57]
Jean-François Gagné
I think this should be Severity S2, because as explained by Norvald at FOSDEM [1], EXPLAIN FORMAT=TRADITIONAL should be considered legacy, and EXPLAIN FORMAT=TREE is the future. There might even be an argument to be made that any feature present in traditional and not present in tree is critical, as it will mean a lost feature when the old plan format will be removed. [1]: https://fosdem.org/2025/schedule/event/fosdem-2025-5466-the-past-present-and-future-of-exp...
[14 Mar 6:17]
MySQL Verification Team
Thank you, Jean-François for your feedback. regards, Umesh
[17 Mar 8:56]
Knut Anders Hatlen
Posted by developer: This bug was fixed in MySQL 8.1.0 as part of Bug#34527697.
[17 Mar 13:37]
Jean-François Gagné
> This bug was fixed in MySQL 8.1.0 as part of Bug#34527697. I do not fine any reference to Bug#34527697 in the 8.1.0 release notes [1], is this the right bug number ? [1]: https://dev.mysql.com/doc/relnotes/mysql/8.1/en/news-8-1-0.html
[25 Mar 22:54]
Jon Stephens
Bonjour, I can verify that the bug was fixed as described here: EXPLAIN and EXPLAIN ANALYZE did not produce the same output for covering index scans. There is a changelog entry for it, but I think it got in too late and we're no longer updating that changelog. Thanks!