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.

ValueDescription
insertAbout to insert rows into the table.
rescheduleSleeping in order to let other threads function, after inserting a number of rows into the table.
upgrading lockAttempting to get lock on the table in order to insert rows.
Waiting for INSERTWaiting for the delayed-insert connection thread to add rows to the queue.

Comments

Comments loading...
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.