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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4245 | 3997 | 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' | 32524000 | 24736 | NULL | NULL | NULL | 43915000 | COMMITTED | YES | NULL | NULL | |
4236 | 3988 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 37000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 97583000 | 24736 | NULL | NULL | NULL | 471517000 | COMMITTED | YES | NULL | NULL | |
4237 | 3989 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... | NULL | NULL | 261000000 | 4 | 1 | 0 | 7 | 0 | YES | SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... | 721622000 | 33091 | NULL | NULL | NULL | 396696000 | COMMITTED | YES | NULL | NULL | |
4242 | 3994 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 20000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 60272000 | 24736 | NULL | NULL | NULL | 286609000 | COMMITTED | YES | NULL | NULL | |
4243 | 3995 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 52996682000 | NULL | 558000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 26632000 | COMMITTED | YES | NULL | NULL | |
4244 | 3996 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 15000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 44329000 | 24736 | NULL | NULL | NULL | 404788000 | 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 |
|