EXPLAIN access type
The type column of MySQL EXPLAIN describes how MySQL reads rows from a table. Its approximate efficiency order ranges from const, eq_ref, ref, range and index to ALL, where ALL indicates a full table scan.
Minimal example
EXPLAIN SELECT * FROM orders WHERE user_id = 42;Learn this concept
Lesson 6.9 · MySQL query-plan readingPrerequisite conceptsEXPLAIN
RelatedUsing filesort