hard20 pts · first answer countsindexingmysql
Join ignores the index
In MySQL, orders.customer_code (utf8mb3) joins customers.code (utf8mb4, indexed). EXPLAIN shows a full scan of customers for each order. What is the likely cause?
Discussion 0
Join free to post in the discussion.
Related questions
- When a B-tree index helpsDatabase Administrator
- Why InnoDB over MyISAMDatabase Administrator
- Finding slow MySQL queriesDatabase Administrator
- Index on a yes/no columnDatabase Administrator
- How InnoDB stores table rowsDatabase Administrator
- What an InnoDB secondary index points toDatabase Administrator
- LIKE with a leading %Database Administrator
- What a hash index supportsDatabase Administrator