<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>RankMath query eats up CPU

[ad_1]

Replies: 1

Recently, there are 2 queries suddenly ate up most of our Database CPU:

 SELECT * FROM wp_rank_math_redirections_cache WHERE BINARY from_url = ? LIMI…

And

SELECT * FROM wp_rank_math_redirections_cache WHERE object_id = ? AND object_type = ? LIMIT ?, …

For example:

select * from wp_rank_math_redirections_cache where BINARY from_url = ‘apple-touch-icon-120×120-precomposed.png’ limit 0, 1

select * from wp_rank_math_redirections_cache where object_id = 13696 and object_type = ‘post’ limit 0, 1

I am planning to add index for the table. But I don’t know if update the plugin can solve it. I’m using version 1.0.42.3

And should we clear that cache table? There are a lot of junk from_url, like: echo wthcrq$ ... or $(nslookup .... Those look like from hackers

  • This topic was modified 8 hours, 26 minutes ago by hungvuviet.
  • This topic was modified 7 hours, 55 minutes ago by hungvuviet.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer