↧
Answer by Rick James for Following mysql query is taking too much time for...
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 ....
View ArticleFollowing mysql query is taking too much time for excecution
I have a MySQL table which is described in the following question.Counting number of ids present in one table which is not presented on another for a particular userThe query which I am using is as...
View Article