DBT-3 Queries

You are viewing an old version of this article. View the current version 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.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.