Delayed Insert Handler Thread States

This article documents thread states that are related to the handler thread that inserts the results of INSERT DELAYED statements.

These correspond to the STATE values listed by the SHOW PROCESSLIST statement or in the Information Schema PROCESSLIST Table as well as the PROCESSLIST_STATE value listed in the Performance Schema threads Table.

Value Description
insert About to insert rows into the table.
reschedule Sleeping in order to let other threads function, after inserting a number of rows into the table.
upgrading lock Attempting to get lock on the table in order to insert rows.
Waiting for INSERT Waiting for the delayed-insert connection thread to add rows to the queue.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2021 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/delayed-insert-handler-thread-states/