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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201 | 145 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `information_schema` | NULL | NULL | 549000000 | 137 | 67 | 0 | 0 | 0 | NO | SHOW TABLES FROM `information_schema` | 1166395000 | 16776 | NULL | NULL | NULL | 565297000 | COMMITTED | YES | NULL | NULL | |
188 | 136 | root@192.168.30.20 | sakila | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 161000000 | 30 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 449889000 | 133476 | NULL | NULL | NULL | 249772000 | COMMITTED | YES | NULL | NULL | |
189 | 137 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `sakila` | NULL | NULL | 564000000 | 80 | 23 | 0 | 0 | 0 | NO | SHOW TABLES FROM `sakila` | 1034523000 | 16779 | NULL | NULL | NULL | 407072000 | COMMITTED | YES | NULL | NULL | |
191 | 139 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 20000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 60325000 | 24736 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | |
193 | 141 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 83737119000 | NULL | 129000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 423793 | NULL | NULL | NULL | 20620000 | COMMITTED | YES | NULL | NULL | |
198 | 142 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 19000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 58355000 | 24736 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | |
199 | 143 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SELECT 1 FROM `fearzonedbs`.`inventory` LIMIT 1 | NULL | NULL | 91000000 | 0 | 0 | 0 | 0 | 0 | NO | SELECT 1 FROM `fearzonedbs`.`inventory` LIMIT 1 | 199441000 | 29072 | NULL | NULL | NULL | 609987000 | COMMITTED | YES | NULL | NULL | |
200 | 144 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SET collation_connection = 'utf8mb4_unicode_ci' | NULL | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NO | SET collation_connection = 'utf8mb4_unicode_ci' | 62052000 | 24736 | NULL | NULL | NULL | NULL | NULL | NULL | 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 |
|