Engine Atlas

MySQL Join Algorithms

Plan, row flow, and evidence for Indexed Nested Loop and Hash Join
MySQL 8.4.10captured
한국어
01 · SOURCE

SQL shared by both variants

1 active fragmentsMySQLJOIN · no ORDER BY
SELECT c.id AS customer_id, c.segment, o.id AS order_id, o.status, o.total_cents
FROM join_customers AS c
JOIN join_orders AS o ON o.customer_code = c.customer_code
WHERE c.region_code = 'KR'
  AND o.status = 'PAID';
02 · FLOW

Native plan and actual iterators

01 / 12
01/ 12