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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1805 | 1741 | root@192.168.30.20 | information_schema | Query | checking permissions | 0 | SELECT * FROM `PARTITIONS` LIMIT 0, 25 | 902847000 | NULL | 679000000 | 0 | 0 | 0 | 0 | 0 | YES | NULL | NULL | 55731 | NULL | NULL | NULL | 233464000 | ACTIVE | YES | NULL | NULL | |
1798 | 1734 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 57000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 173284000 | 24736 | NULL | NULL | NULL | 255312000 | COMMITTED | YES | NULL | NULL | |
1799 | 1735 | root@192.168.30.20 | mysql | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 177000000 | 35 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 394718000 | 33166 | NULL | NULL | NULL | 187435000 | COMMITTED | YES | NULL | NULL | |
1802 | 1738 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 27000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 84208000 | 24736 | NULL | NULL | NULL | 279392000 | COMMITTED | YES | NULL | NULL | |
1803 | 1739 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 31538337000 | NULL | 541000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 39400000 | COMMITTED | YES | NULL | NULL | |
1804 | 1740 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 18000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 52774000 | 24736 | NULL | NULL | NULL | 39525000 | 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 |
|