SELECT * FROM `threads`
THREAD_ID | NAME | TYPE | PROCESSLIST_ID | PROCESSLIST_USER | PROCESSLIST_HOST | PROCESSLIST_DB | PROCESSLIST_COMMAND | PROCESSLIST_TIME | PROCESSLIST_STATE | PROCESSLIST_INFO | PARENT_THREAD_ID | ROLE | INSTRUMENTED | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | thread/sql/main | BACKGROUND | NULL | NULL | NULL | NULL | NULL | 970573 | System lock | INTERNAL DDL LOG RECOVER IN PROGRESS | NULL | NULL | YES | |
2 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
3 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
4 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
5 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
6 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
7 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
8 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
9 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
10 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
11 | thread/innodb/io_handler_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
14 | thread/innodb/srv_lock_timeout_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
15 | thread/innodb/srv_error_monitor_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
16 | thread/innodb/srv_monitor_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
17 | thread/innodb/srv_master_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
18 | thread/innodb/srv_purge_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
19 | thread/innodb/page_cleaner_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
20 | thread/sql/shutdown | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 1 | NULL | YES | |
21 | thread/sql/con_sockets | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 1 | NULL | YES | |
2813905 | thread/sql/one_connection | FOREGROUND | 2813884 | root | localhost | NULL | Query | 0 | checking permissions | SELECT COUNT(*) FROM `information_schema`.`STATIST... | NULL | NULL | YES | |
2813908 | thread/sql/one_connection | FOREGROUND | 2813887 | root | localhost | mysql | Sleep | 0 | NULL | NULL | NULL | NULL | YES | |
2813911 | thread/sql/one_connection | FOREGROUND | 2813890 | root | localhost | performance_schema | Query | 0 | Sending data | SELECT * FROM `threads` LIMIT 0, 25 | NULL | NULL | YES | |
2813912 | thread/sql/one_connection | FOREGROUND | 2813891 | root | localhost | mysql | Sleep | 0 | NULL | NULL | NULL | NULL | YES |