yiGmMk / comment_blog

the comments of www_programnotes_cn
0 stars 0 forks source link

MySQL8 backend index scan | 编程笔记 #115

Open yiGmMk opened 1 year ago

yiGmMk commented 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

yiGmMk commented 1 year ago

test