[MDEV-21448] LATERAL DERIVED optimization is not documented properly Created: 2020-01-09 Updated: 2023-12-04 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | 10.3, 10.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Ralf Gebhardt |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
It seems that MariaDB 10.3+ added a new optimization (and "select_type" in terms of EXPLAIN), LATERAL DERIVED. See All these, though, are NOT properly documented in our KB. Check these pages: https://mariadb.com/kb/en/optimizer-switch/ - nothing documented for split_materialized, besides a link to https://mariadb.com/kb/en/explain/ - "LATERAL DERIVED" is not even listed among "select_type" values and not at all documented https://mariadb.com/kb/en/optimizations-for-derived-tables/ - does not mention this optimization at all. So, at least all these pages must be changed to have this optimization listed and properly documented, and probably a separate page for it 9and related bugs) should be added. It seems to cause query performance regressions while upgrading to 10.3 from older versions, so having zero information about it is a problem for community users and customers. Having is enabled by default is also a problem, I;'d say. |
| Comments |
| Comment by Varun Gupta (Inactive) [ 2020-01-09 ] |
|
Here is the link for the slides where this optimization was discussed https://mariadb.org/wp-content/uploads/2017/11/shenzhen2017-optimizer-in-mariadb-103.pdf |
| Comment by Julien Fritsch [ 2021-09-22 ] |
|
jacob.moorman from our discussion, I decided to reassign Kenneth's ticket to you? |