Oracle 5.0 Reference Manual page 757

Table of Contents

Advertisement

Reading from net
The server is reading a packet from the network.
Removing duplicates
The query was using
distinct operation at an early stage. Because of this, MySQL requires an extra stage to remove all
duplicated rows before sending the result to the client.
removing tmp table
The thread is removing an internal temporary table after processing a
is not used if no temporary table was created.
rename
The thread is renaming a table.
rename result table
The thread is processing an
to replace the original table.
Reopen tables
The thread got a lock for the table, but noticed after getting the lock that the underlying table
structure changed. It has freed the lock, closed the table, and is trying to reopen it.
Repair by sorting
The repair code is using a sort to create indexes.
Repair done
The thread has completed a multi-threaded repair for a
Repair with keycache
The repair code is using creating keys one by one through the key cache. This is much slower than
Repair by
sorting.
Rolling back
The thread is rolling back a transaction.
Saving state
For
table operations such as repair or analysis, the thread is saving the new table state to
MyISAM
the
file header. State includes information such as number of rows, the
.MYI
counter, and key distributions.
Searching rows for update
The thread is doing a first phase to find all matching rows before updating them. This has to be done
if the
is changing the index that is used to find the involved rows.
UPDATE
Sending data
The thread is reading and processing rows for a
Because operations occurring during this this state tend to perform large amounts of disk access
(reads), it is often the longest-running state over the lifetime of a given query.
setup
General Thread States
in such a way that MySQL could not optimize away the
SELECT DISTINCT
ALTER TABLE
737
statement, has created the new table, and is renaming it
table.
MyISAM
statement, and sending data to the client.
SELECT
statement. This state
SELECT
AUTO_INCREMENT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents