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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13049 | 12041 | root@192.168.30.20 | sys | Sleep | NULL | 0 | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | NULL | NULL | 189000000 | 22 | 1 | 0 | 2 | 0 | YES | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | 432929000 | 35220 | NULL | NULL | NULL | 217829000 | COMMITTED | YES | NULL | NULL | |
13042 | 12034 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 76000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 233182000 | 24736 | NULL | NULL | NULL | 70640000 | COMMITTED | YES | NULL | NULL | |
13043 | 12035 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 231000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 355054000 | 24736 | NULL | NULL | NULL | 37243000 | COMMITTED | YES | NULL | NULL | |
13044 | 12036 | root@192.168.30.20 | information_schema | Sleep | NULL | 0 | SHOW INDEXES FROM `information_schema`.`FILES` | NULL | NULL | 340000000 | 3 | 0 | 0 | 1 | 0 | NO | SHOW INDEXES FROM `information_schema`.`FILES` | 519007000 | 27483 | NULL | NULL | NULL | 149123000 | COMMITTED | YES | NULL | NULL | |
13045 | 12037 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 53218565000 | NULL | 881000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 28101000 | COMMITTED | YES | NULL | NULL | |
13046 | 12038 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 34000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 97313000 | 24736 | NULL | NULL | NULL | 390536000 | COMMITTED | YES | NULL | NULL | |
13047 | 12039 | root@192.168.30.20 | information_schema | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 3496000000 | 32 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 3829254000 | 27091 | NULL | NULL | NULL | 290712000 | COMMITTED | YES | NULL | NULL | |
13048 | 12040 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 32000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 91480000 | 24736 | NULL | NULL | NULL | 35901000 | COMMITTED | YES | NULL | NULL | |
45 | 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 |
|