Quantcast
Channel: Following mysql query is taking too much time for excecution - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by Rick James for Following mysql query is taking too much time for excecution

$
0
0

table2 needs INDEX(tableid, user_id) (in either order).

If this does not solve the problem, please provide SHOW CREATE TABLE for both tables, plus EXPLAIN SELECT ....


Viewing all articles
Browse latest Browse all 2

Trending Articles