mysql explain時,possible_keys有索引,可是key爲null沒有使用索引

場景: 有三個表,表2鏈接表3查詢很快,幾毫秒;可是表2鏈接查詢表4很慢,耗時幾分鐘。 注:都是用uid字段作關聯 java 查詢結果以下截圖:mysql mysql> select concat_ws( '|' , '2016-08-23' , t3.country , count(distinct t2.id ) ) -> from t_reconnect_task t2 join
相關文章
相關標籤/搜索