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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4871 | 4507 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 37820764000 | NULL | 368000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400831 | NULL | NULL | NULL | 25293000 | COMMITTED | YES | NULL | NULL | |
4858 | 4494 | root@192.168.30.20 | information_schema | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 140000000 | 34 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 353849000 | 33179 | NULL | NULL | NULL | 172890000 | COMMITTED | YES | NULL | NULL | |
4859 | 4495 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `information_schema` | NULL | NULL | 588000000 | 137 | 67 | 0 | 0 | 0 | NO | SHOW TABLES FROM `information_schema` | 1145740000 | 16776 | NULL | NULL | NULL | 495113000 | COMMITTED | YES | NULL | NULL | |
4868 | 4504 | root@192.168.30.20 | information_schema | Sleep | NULL | 0 | SHOW SESSION VARIABLES LIKE 'FOREIGN_KEY_CHECKS' | NULL | NULL | 95000000 | 574 | 1 | 0 | 1 | 0 | YES | SHOW SESSION VARIABLES LIKE 'FOREIGN_KEY_CHECKS' | 931240000 | 23523 | NULL | NULL | NULL | 1644836000 | COMMITTED | YES | NULL | NULL | |
4869 | 4505 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `information_schema` | NULL | NULL | 421000000 | 137 | 67 | 0 | 0 | 0 | NO | SHOW TABLES FROM `information_schema` | 775359000 | 16776 | NULL | NULL | NULL | 315147000 | COMMITTED | YES | NULL | NULL | |
4870 | 4506 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 27000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 69319000 | 24736 | NULL | NULL | NULL | 44095000 | 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 |
|