![](/img/trans.png)
[英]Whats the difference between “Using index” and “Using where; Using index” in the EXPLAIN
[英]EXPLAIN PLAN: what is the difference between “using where” and “using index” in MYSQL
MYSQL的EXPLAIN計划中的“在哪里”和“使用索引”之間的主要區別是什么?
我認為這只是分別從光盤搜索記錄還是從內存搜索。
謝謝-UDAY
該文檔說明了區別:
Using index
意味着可以僅從索引中獲取請求的列數據,而不必正確讀取行數據。
Using where
意味着索引實際上用於查找,而不是僅用於獲取請求的列數據。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.