MySQL query on wp_termmeta causing high CPU
-
We are being notified from our host that we keep having queries on wp_termmeta that are taking a long time to execute.
I noticed our wp_termmeta table is empty.
The queries look like this:
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (29070,12365,12366 ….. ) ORDER BY meta_id ASC;
The ….. above is additional IN values. There are 33,478 of them in total, all in a comma separated list.
The site has 15,718 total posts.
Any idea what this is and what is causing it to run?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘MySQL query on wp_termmeta causing high CPU’ is closed to new replies.