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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6157 | 5881 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... | NULL | NULL | 280000000 | 4 | 1 | 0 | 7 | 0 | YES | SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... | 836152000 | 33091 | NULL | NULL | NULL | 500216000 | COMMITTED | YES | NULL | NULL | |
6156 | 5880 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 17000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 46698000 | 24736 | NULL | NULL | NULL | 452442000 | COMMITTED | YES | NULL | NULL | |
6158 | 5882 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 32000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 86389000 | 24736 | NULL | NULL | NULL | 465586000 | COMMITTED | YES | NULL | NULL | |
6159 | 5883 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | NULL | NULL | 213000000 | 13 | 1 | 0 | 2 | 0 | YES | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | 458289000 | 51531 | NULL | NULL | NULL | 194073000 | COMMITTED | YES | NULL | NULL | |
6160 | 5884 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 20000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 56567000 | 24736 | NULL | NULL | NULL | 433826000 | COMMITTED | YES | NULL | NULL | |
6161 | 5885 | root@192.168.30.20 | mysql | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 117000000 | 37 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 283188000 | 51759 | NULL | NULL | NULL | 143749000 | COMMITTED | YES | NULL | NULL | |
6162 | 5886 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 23000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 58983000 | 24736 | NULL | NULL | NULL | 47895000 | COMMITTED | YES | NULL | NULL | |
6163 | 5887 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 64758308000 | NULL | 573000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 50472000 | COMMITTED | YES | NULL | NULL | |
6164 | 5888 | root@192.168.30.20 | mysql | Sleep | NULL | 0 | SHOW SESSION VARIABLES LIKE 'character_set_server' | NULL | NULL | 103000000 | 574 | 1 | 0 | 1 | 0 | YES | SHOW SESSION VARIABLES LIKE 'character_set_server' | 1686585000 | 35222 | NULL | NULL | NULL | 1304841000 | COMMITTED | YES | NULL | NULL | |
6165 | 5889 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 62000000 | 0 | 0 | 0 | 0 | 0 | NO | SHOW TABLES FROM `phpmyadmin` | 156076000 | 24736 | NULL | NULL | NULL | 280007000 | 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 |
|