This occurs during the initialization phase when the thread is trying to find the delayed-insert handler
thread for the table, and before attempting to gain access to the list of delayed-insert threads.
•
waiting for handler insert
An
INSERT DELAYED
•
waiting for handler lock
This occurs before the
access to the delayed-insert handler thread.
•
waiting for handler open
This occurs after the
The delayed-insert handler thread has just been started, and the connection thread is waiting for it to
initialize.
States associated with a delayed-insert handler thread that inserts the rows:
•
insert
The state that occurs just before inserting rows into the table.
•
reschedule
After inserting a number of rows, the delayed-insert thread sleeps to let other threads do work.
•
upgrading lock
A delayed-insert handler is trying to get a lock for the table to insert rows.
•
Waiting for INSERT
A delayed-insert handler is waiting for a connection thread to add rows to the queue (see
row into
8.10.4. Query Cache Thread States
These thread states are associated with the query cache (see
Cache").
•
checking privileges on cached query
The server is checking whether the user has privileges to access a cached query result.
•
checking query cache for query
The server is checking whether the current query is present in the query cache.
•
invalidating query cache entries
Query cache entries are being marked invalid because the underlying tables have changed.
•
sending cached result to client
The server is taking the result of a query from the query cache and sending it to the client.
•
storing result in query cache
The server is storing the result of a query in the query cache.
8.10.5. Replication Master Thread States
Query Cache Thread States
handler has processed all pending inserts and is waiting for new ones.
allocating local table
Creating delayed handler
queue).
state when the connection thread waits for
state and before the
Section 8.6.3, "The MySQL Query
740
state.
got old table
storing
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?