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. |
© 2019 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/