MySQL 8.4 Release Notes
10.3.7 验证索引使用情况
Always check whether all your queries really use the indexes that you have created in the tables. Use the EXPLAIN
statement, as described in Section 10.8.1, “Optimizing Queries with EXPLAIN”.