General Thread States
735
•
Copying to tmp table
The server is copying to a temporary table in memory.
•
Copying to tmp table on disk
The server is copying to a temporary table on disk. The temporary result set has become too large
(see
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
). Consequently, the thread is
changing the temporary table from in-memory to disk-based format to save memory.
•
Creating index
The thread is processing
ALTER TABLE ... ENABLE KEYS
for a
MyISAM
table.
•
Creating sort index
The thread is processing a
SELECT
that is resolved using an internal temporary table.
•
creating table
The thread is creating a table. This includes creation of temporary tables.
•
Creating tmp table
The thread is creating a temporary table in memory or on disk. If the table is created in memory
but later is converted to an on-disk table, the state during that operation will be
Copying to tmp
table on disk
.
•
deleting from main table
The server is executing the first part of a multiple-table delete. It is deleting only from the first table,
and saving columns and offsets to be used for deleting from the other (reference) tables.
•
deleting from reference tables
The server is executing the second part of a multiple-table delete and deleting the matched rows
from the other tables.
•
discard_or_import_tablespace
The thread is processing an
ALTER TABLE ... DISCARD TABLESPACE
or
ALTER TABLE ...
IMPORT TABLESPACE
statement.
•
end
This occurs at the end but before the cleanup of
ALTER TABLE
,
CREATE VIEW
,
DELETE
,
INSERT
,
SELECT
, or
UPDATE
statements.
•
executing
The thread has begun executing a statement.
•
Execution of init_command
The thread is executing statements in the value of the
init_command
system variable.
•
freeing items
The thread has executed a command. Some freeing of items done during this state involves the
query cache. This state is usually followed by
cleaning up
.
•
Flushing tables
The thread is executing
FLUSH TABLES
and is waiting for all threads to close their tables.
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 ...