|
|
1 |
|
bigint(20)
|
|
UNSIGNED |
Όχι |
Καμία |
A unique thread identifier.
|
|
|
|
2 |
|
varchar(128)
|
utf8mb3_general_ci
|
|
Όχι |
Καμία |
Name associated with the server's thread instrumentation code, for example thread/sql/main for the server's main() function, and thread/sql/one_connection for a user connection.
|
|
|
|
3 |
|
varchar(10)
|
utf8mb3_general_ci
|
|
Όχι |
Καμία |
FOREGROUND or BACKGROUND, depending on the thread type. User connection threads are FOREGROUND, internal server threads are BACKGROUND.
|
|
|
|
4 |
|
bigint(20)
|
|
UNSIGNED |
Ναι |
NULL |
The PROCESSLIST.ID value for threads displayed in the INFORMATION_SCHEMA.PROCESSLIST table, or 0 for background threads. Also corresponds with the CONNECTION_ID() return value for the thread.
|
|
|
|
5 |
|
varchar(128)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Foreground thread user, or NULL for a background thread.
|
|
|
|
6 |
|
varchar(255)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Foreground thread host, or NULL for a background thread.
|
|
|
|
7 |
|
varchar(64)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Thread's default database, or NULL if none exists.
|
|
|
|
8 |
|
varchar(16)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Type of command executed by the thread. These correspond to the the COM_xxx client/server protocol commands, and the Com_xxx status variables. See Thread Command Values.
|
|
|
|
9 |
|
bigint(20)
|
|
|
Ναι |
NULL |
Time in seconds the thread has been in its current state.
|
|
|
|
10 |
|
varchar(64)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Action, event or state indicating what the thread is doing.
|
|
|
|
11 |
|
longtext
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Statement being executed by the thread, or NULL if a statement is not being executed. If a statement results in calling other statements, such as for a stored procedure, the innermost statement from the stored procedure is shown here.
|
|
|
|
12 |
|
bigint(20)
|
|
UNSIGNED |
Ναι |
NULL |
THREAD_ID of the parent thread, if any. Subthreads can for example be spawned as a result of INSERT DELAYED statements.
|
|
|
|
13 |
|
varchar(64)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
Unused.
|
|
|
|
14 |
|
enum('YES', 'NO')
|
utf8mb3_general_ci
|
|
Όχι |
Καμία |
YES or NO for Whether the thread is instrumented or not. For foreground threads, the initial value is determined by whether there's a user/host match in the setup_actors table. Subthreads are again matched, while for background threads, this will be set to YES by default. To monitor events that the thread executes, INSTRUMENTED must be YES and the thread_instrumentation consumer in the setup_consumers table must also be YES.
|
|
|
|
15 |
|
enum('YES', 'NO')
|
utf8mb3_general_ci
|
|
Όχι |
Καμία |
Whether to log historical events for the thread.
|
|
|
|
16 |
|
varchar(16)
|
utf8mb3_general_ci
|
|
Ναι |
NULL |
The protocol used to establish the connection, or NULL for background threads.
|
|
|
|
17 |
|
bigint(20)
|
|
UNSIGNED |
Ναι |
NULL |
The thread or task identifier as defined by the underlying operating system, if there is one.
|
|