Answer the question
In order to leave comments, you need to log in
What does this request do?
SELECT wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id
I was told that it exceeded the number of database queries.
Answer the question
In order to leave comments, you need to log in
There was a similar situation. We had such a situation due to the fact that the request shoveled a bunch of records. Check how many records this query iterates over with Explain.
Just write the word Explain before the request.
For example via PhpMyAdmin. And the server will give you statistics on request.
indexes on certain columns helped us
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question