They’re from WordPress. They come from the wp_old_slug_redirect()
function which is run whenever there is a 404. The purpose is to check if the requested URL was the old URL for a post so that it can redirect to the new URL.
If you’re seeing a lot of these then it means you’re getting a lot of 404 hits. The slugs in your example suggest that it’s probably bots, but it’s hard to say. I highly doubt this query alone is causing significant server load. It’s probably the volume of the requests themselves that is the problem.
Related Posts:
- How can I prevent SQL injection in PHP?
- What are the recommended database permissions for WordPress?
- What is the most secure way to set up the MySQL user in WPMU?
- Changing Table Prefix for an Existing WordPresss Site
- MySQL Error: : ‘Access denied for user ‘root’@’localhost’
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- String concatenation in MySQL
- Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’ (38)
- ERROR 1698 (28000): Access denied for user ‘root’@’localhost’
- MySQL server startup error ‘The server quit without updating PID file’
- ERROR 1698 (28000): Access denied for user ‘root’@’localhost’
- When to use SELECT … FOR UPDATE?
- ERROR 1396 (HY000): Operation CREATE USER failed for ‘jack’@’localhost’
- 1052: Column ‘id’ in field list is ambiguous
- Escape string Python for MySQL
- 1052: Column ‘id’ in field list is ambiguous
- Getting “Lock wait timeout exceeded; try restarting transaction” even though I’m not using a transaction
- Search for all occurrences of a string in a mysql database
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- SQL ZOO List each continent and the name of the country that comes first alphabetically
- How to convert a string to date in MySQL?
- MySQL COUNT DISTINCT
- How to update a record using sequelize for node?
- Can’t open the mysql.plugin table. Please run mysql_upgrade to create it
- Convert MySQL to SQlite [closed]
- ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘db’
- How to install Python MySQLdb module using pip?
- Create a temporary table in a SELECT statement without a separate CREATE TABLE
- Convert partially non-numeric text into number in MySQL query
- MySql: is it possible to ‘SUM IF’ or to ‘COUNT IF’?
- MySQL: What’s the difference between float and double?
- How can I search (case-insensitive) in a column using LIKE wildcard?
- MySQL Select Multiple VALUES
- SQL – IF EXISTS UPDATE ELSE INSERT INTO
- How to unblock with mysqladmin flush hosts
- Node.js MySQL – Error: connect ECONNREFUSED
- Solution to “subquery returns more than 1 row” error
- MySQL Error #1071 – Specified key was too long; max key length is 767 bytes
- How To have Dynamic SQL in MySQL Stored Procedure
- MySQL – UPDATE query with LIMIT
- MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
- What SQL Query to do a simple find and replace
- Scanning Database for malicious Data
- how to refresh wordpress permalink settings? (without admin panel)
- Ordering posts by day (not time) AND meta value
- wpdb->prepare function remove single quote for %s in SQL statment
- Problems with DBDelta with FOREIGN key?
- Is it useful to turn on MySQL query cache for performance
- Programmatically changing role information; editing role name and deleting
- Search and replace in post content
- How to add 2 hours to the wordpress time formed with current_time(“mysql”, false)?
- wpdb insert and boolean fields
- How do I properly update the WordPress database password?
- Join new table with SQL query
- What are the issues associated with upgrading MySQL for WordPress?
- How to find meta entries with their posts missing via SQL?
- Mysql SELECT posts
- SQL Injection blocked by firewall
- #1115 – Unknown character set: ‘utf8mb4’
- How to add a private user page populated from sql?
- Slow wp-admin due to “SELECT DISTINCT post_mime_type FROM wp_posts WHERE post_type = ‘attachment'”
- Which is better and faster ? WordPress Queries or SQL Query
- Using WPDB->Insert()
- Active DB queries in WordPress?
- Changing MySQL password via WHM – does this affect WordPress?
- Run Username SQL Query from WordPress Child Theme Functions File
- SQL syntax error. However, it works normally at phpmyadmin
- string literals in query
- MySQL query for taxonomy-meta
- Editing mysql tables/database with wordpress or other app/cms
- Create pages from MySQL database
- Sql – Search with serialized Data / better database concept
- WordPress unescape text on mysql?
- Getting data from Mysql Table..confusing
- Exporting completed webiste for another server
- SQL Statement – Mass Delete Custom Post Types
- Ubuntu 12.04, Nginx and MySQL issue with WordPress Database
- latency problems with wordpress install (from SQL import)
- mysql – Delete keyword with link from wordpress post database
- Creating dynamic content and pages for 1000’s of locations
- Remove duplicate media entries from mysql database
- mysqli_sql_exception: Unknown column ‘wp_’ in ‘field list’ PHP 8
- In a MySQL query, one of the columns in the LEFT JOIN returns “Unknown column”
- DB option update with wp-cli
- Find locations of all featured images of draft posts via SQL
- SQL query to change custom field in WordPress database
- wpdb insert into point column in db
- How to configure WordPress Database for CentOS 7
- 403 Forbidden home on localhost with nginx server
- WPDB delivers wrong results from complex queries
- How to change link in all posts?
- #1115 – Unknown character set: ‘utf8mb4’
- Get data from 3rd table
- Why can’t I connect to imported WP DB on local MAMP?
- Initialization of table in database using ‘CREATE … IF NOT EXISTS’
- mysqldump throws: Unknown table ‘COLUMN_STATISTICS’ in information_schema (1109)
- How do I load a sql.gz file to my database? (importing)
- How can I show mysql locks?
- Batch Replace URLs in WordPress Database
- How to reduce uncached page generation time?