Quantcast
Channel: Following mysql query is taking too much time for excecution - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article


Following 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

Browsing latest articles
Browse All 2 View Live