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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6197 | 6081 | 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' | 42212000 | 24736 | NULL | NULL | NULL | 45142000 | COMMITTED | YES | NULL | NULL | |
6190 | 6074 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 16000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 42715000 | 24736 | NULL | NULL | NULL | 266351000 | COMMITTED | YES | NULL | NULL | |
6191 | 6075 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 191000000 | 30 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 474680000 | 33091 | NULL | NULL | NULL | 254025000 | COMMITTED | YES | NULL | NULL | |
6194 | 6078 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 16000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 46084000 | 24736 | NULL | NULL | NULL | 413374000 | COMMITTED | YES | NULL | NULL | |
6195 | 6079 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 34016141000 | NULL | 783000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 45740000 | COMMITTED | YES | NULL | NULL | |
6196 | 6080 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 22000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 61328000 | 24736 | NULL | NULL | NULL | 293230000 | 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 |
|