mysql> show processlist;
| Id | User | Host | db | Command | Time | State | Info |
| 27098 | DELAYED | localhost | placeholder | Delayed insert | 111 | Waiting for INSERT | |
I'm finding this process as suspicious, but nothing in ps, netstat, cron.
How to get more info about that process? Thanks.
Best Answer
Once someone executes INSERT DELAYED, a system thread will open in order to track and mitigate INSERTs of this kind. MySQL 5.6 deprecates it and 5.7 does not support it.
What is more, in terms of MySQL Replication, Slaves will completely ignore an INSERT DELAYED command from a Master and execute them as a standard INSERT.
Please read the MySQL 5.5 Documentation on this for further info.
UPDATE 2016-07-05 11:30 EDT
Since you are interested in process/client, which originates this "INSERT DELAYED" query, you should look at the thread states. The MySQL 5.5 Documentation describes them well: