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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17507 | 16979 | root@192.168.30.20 | NULL | Sleep | NULL | 1 | SHOW TABLES FROM `information_schema` | NULL | NULL | 485000000 | 137 | 67 | 0 | 0 | 0 | NO | SHOW TABLES FROM `information_schema` | 846011000 | 16776 | NULL | NULL | NULL | 330409000 | COMMITTED | YES | NULL | NULL | |
17508 | 16980 | pma@192.168.30.20 | NULL | Sleep | NULL | 1 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 33000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 69332000 | 24736 | NULL | NULL | NULL | 244447000 | COMMITTED | YES | NULL | NULL | |
17511 | 16983 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 217000000 | 22 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 413071000 | 16776 | NULL | NULL | NULL | 161981000 | COMMITTED | YES | NULL | NULL | |
17506 | 16978 | root@192.168.30.20 | information_schema | Query | starting | 0 | SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... | 2451312000 | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NO | NULL | NULL | 27483 | NULL | NULL | NULL | 264467000 | COMMITTED | YES | NULL | NULL | |
17509 | 16981 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 35998910000 | NULL | 464000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 47437000 | COMMITTED | YES | NULL | NULL | |
17510 | 16982 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 16000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 42763000 | 24736 | NULL | NULL | NULL | 1312656000 | 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 |
|