DBT-3 Queries
Q1
See MDEV-4309 (just speeding up temptable-based GROUP BY execution). Optimizer seems to make a good choice here.
Q4
See MDEV-6015.
Applicable optimizations:
subquery cache brings no benefit because subquery refers to outer_table.pk, which is different for each row
EXISTS-to-IN is applicable
After that, BKA brings slight speedup
Comments on query plan choice
It seems, we're using the best possible query plan here.
.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?