Open yiGmMk opened 1 year ago
https://programnotes.cn/mysql-backend-index-scan/index.html
在分析一个sql执行计划 123456explain SELECT id,user_idFROM orderWHERE shop_id = xxx and (corp_id = xxx) ORDER BY create_time DESCLIMIT 10 在返回值的extra中看到一个陌生的字眼”Backward index scan”,下面探索下这是个啥 1Extra: Using i
order
test
https://programnotes.cn/mysql-backend-index-scan/index.html
在分析一个sql执行计划 123456explain SELECT id,user_idFROM
order
WHERE shop_id = xxx and (corp_id = xxx) ORDER BY create_time DESCLIMIT 10 在返回值的extra中看到一个陌生的字眼”Backward index scan”,下面探索下这是个啥 1Extra: Using i