Very slow database query
-
Hello,
we are trying to speed up our site because it’s sometimes quite slow even on our dedicated expensive server. We have usually around 100 visitors at the same time on our site. And using Query monitor we just found out that permalink is just taking a LONG time to process the query. We have around 10k posts. Take a look at it https://imgur.com/a/B4l79Uw
We don’t need this plugin anymore for a long time but at the beginning when moving to wordpress, we used it a lot to make redirects for our old URLs. So we have maybe 2k links redirected and 8k are just fine.
Is there a way of not running it if it’s not necessary or to speed it up or some other solution?
Edit: If I go to PostTypes Permalinks then there are 94k items in the list and getting more every day. Most of them are Media…
Thank you!
- The topic ‘Very slow database query’ is closed to new replies.