Answer the question
In order to leave comments, you need to log in
Why is mysql query taking a long time to complete?
Hello, I'm new to building databases and querying them?
I wrote such a request, but it takes a very long time (15 sec), please explain why it takes so long to complete?
Answer the question
In order to leave comments, you need to log in
nested selects are not very productive ...
if I'm not mistaken, then on each such select a temporary table is created in memory, filled with results, and then the parent query passes through it. after which she is released.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question