SELECT * FROM `x$session`
|
thd_id | conn_id | user | db | command | state | time | current_statement | statement_latency | progress | lock_latency | rows_examined | rows_sent | rows_affected | tmp_tables | tmp_disk_tables | full_scan | last_statement | last_statement_latency | current_memory | last_wait | last_wait_latency | source | trx_latency | trx_state | trx_autocommit | pid | program_name | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1163 | 1079 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `mysql` | NULL | NULL | 515000000 | 197 | 33 | 0 | 0 | 0 | NO | SHOW TABLES FROM `mysql` | 1009677000 | 16776 | NULL | NULL | NULL | 454272000 | COMMITTED | YES | NULL | NULL | |
1158 | 1074 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 29000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 54276000 | 24736 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | |
1159 | 1075 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 131000000 | 31 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 320911000 | 25003 | NULL | NULL | NULL | 163328000 | COMMITTED | YES | NULL | NULL | |
1160 | 1076 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 24000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 62412000 | 24736 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | |
1161 | 1077 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 33150030000 | NULL | 430000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 54514000 | COMMITTED | YES | NULL | NULL | |
1162 | 1078 | root@192.168.30.20 | mysql | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 176000000 | 31 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 449327000 | 404184 | NULL | NULL | NULL | 240019000 | COMMITTED | YES | NULL | NULL | |
44 | 4 | sql/event_scheduler | NULL | Sleep | Waiting on empty queue | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NO | NULL | NULL | 16772 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |
|