使用关键字:EXPLAIN EXPLAIN SELECT * FROM sys_user_t WHERE phone is not null type=ALL,表示全表查询 type=ref,表示索引生效