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 | 1354061 | 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 | |
13 | thread/innodb/srv_lock_timeout_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
14 | thread/innodb/srv_error_monitor_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
15 | thread/innodb/srv_monitor_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
16 | thread/innodb/srv_master_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
17 | thread/innodb/srv_purge_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
18 | thread/innodb/page_cleaner_thread | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | YES | |
19 | thread/sql/shutdown | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 1 | NULL | YES | |
20 | thread/sql/con_sockets | BACKGROUND | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 1 | NULL | YES | |
640399 | thread/sql/one_connection | FOREGROUND | 640379 | root | localhost | NULL | Query | 1 | Opening tables | SELECT COUNT(*) FROM `information_schema`.`COLUMNS... | NULL | NULL | YES | |
640405 | thread/sql/one_connection | FOREGROUND | 640385 | root | localhost | nombres personales | Query | 0 | Opening tables | SHOW TABLES FROM `nombres personales` | NULL | NULL | YES | |
640406 | thread/sql/one_connection | FOREGROUND | 640386 | root | localhost | mysql | Query | 0 | Opening tables | SELECT `SCHEMA_NAME` FROM `INFORMATION_SCHEMA`.`SC... | NULL | NULL | YES | |
640407 | thread/sql/one_connection | FOREGROUND | 640387 | root | localhost | performance_schema | Query | 0 | Opening tables | SHOW TABLES LIKE 'host_cache' | NULL | NULL | YES | |
640408 | thread/sql/one_connection | FOREGROUND | 640388 | root | localhost | performance_schema | Query | 0 | Sending data | SELECT * FROM `threads` LIMIT 0, 25 | NULL | NULL | YES | |
640409 | thread/sql/one_connection | FOREGROUND | 640389 | root | localhost | mysql | Query | 0 | Opening tables | SELECT `SCHEMA_NAME` FROM `INFORMATION_SCHEMA`.`SC... | NULL | NULL | YES |