为数据列添加索引

alter table users add index login_email(login, email);

分析索引
explain select * from users;
看里面的key是否存在或为NULL

相关文章:

  • 2021-07-01
  • 2022-02-19
猜你喜欢
  • 2021-10-05
  • 2021-12-29
  • 2022-12-23
  • 2021-10-09
  • 2021-12-18
  • 2021-08-22
相关资源
相似解决方案