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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5033 | 4573 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 216000000 | 40 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 616352000 | 16776 | NULL | NULL | NULL | 310103000 | COMMITTED | YES | NULL | NULL | |
5032 | 4572 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 22000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 62273000 | 24736 | NULL | NULL | NULL | 257757000 | COMMITTED | YES | NULL | NULL | |
5031 | 4571 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 42915167000 | NULL | 623000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 18478000 | COMMITTED | YES | NULL | NULL | |
5030 | 4570 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 32000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 88457000 | 24736 | NULL | NULL | NULL | 251670000 | 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 |
|