Query Cache Thread States
740
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
handler has processed all pending inserts and is waiting for new ones.
•
waiting for handler lock
This occurs before the
allocating local table
state when the connection thread waits for
access to the delayed-insert handler thread.
•
waiting for handler open
This occurs after the
Creating delayed handler
state and before the
got old table
state.
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
storing
row into queue
).
8.10.4. Query Cache Thread States
These thread states are associated with the query cache (see
Section 8.6.3, “The MySQL Query
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
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...