The thread is waiting for a global read lock obtained by another thread (with
LOCK) to be released.
READ
•
Waiting for
The thread got a notification that the underlying structure for a table has changed and it needs to
reopen the table to get the new structure. However, to reopen the table, it must wait until all other
threads have closed the table in question.
This notification takes place if another thread has used
statements on the table in question:
REPAIR
•
Waiting on cond
A generic state in which the thread is waiting for a condition to become true. No specific state
information is available.
•
Waiting to get readlock
The thread has issued a
and is waiting to obtain the lock.
•
Writing to net
The server is writing a packet to the network.
8.10.3. Delayed-Insert Thread States
These thread states are associated with processing for
"INSERT DELAYED
INSERT DELAYED
threads that insert the rows. There is a delayed-insert handler thread for each table for which
statements are issued.
DELAYED
States associated with a connection thread that processes an
client:
•
allocating local table
The thread is preparing to feed rows to the delayed-insert handler thread.
•
Creating delayed handler
The thread is creating a handler for
•
got handler lock
This occurs before the
state, when the connection thread gets access to the delayed-insert handler thread.
lock
•
got old table
This occurs after the
has signaled that it has ended its initialization phase, which includes opening the table for delayed
inserts.
•
storing row into queue
The thread is adding a new row to the list of rows that the delayed-insert handler thread must insert.
•
waiting for delay_list
Delayed-Insert Thread States
tables,
Waiting for table
TABLE, or
TABLE,
ANALYZE
FLUSH TABLES WITH READ LOCK
Syntax"). Some states are associated with connection threads that process
statements from clients. Other states are associated with delayed-insert handler
allocating local table
waiting for handler open
FLUSH TABLES
FLUSH TABLES
tbl_name,
OPTIMIZE
TABLE.
DELAYED
inserts.
DELAYED
state and after the
state. The delayed-insert handler thread
739
FLUSH TABLES WITH
or one of the following
ALTER
TABLE,
statement to obtain a global read lock
inserts (see
Section 13.2.5.2,
statement from the
INSERT DELAYED
waiting for handler
RENAME
TABLE,
INSERT
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?