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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1413 | 1177 | 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' | 63434000 | 24736 | NULL | NULL | NULL | 304538000 | COMMITTED | YES | NULL | NULL | |
1410 | 1174 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 25000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 67388000 | 24736 | NULL | NULL | NULL | 479829000 | COMMITTED | YES | NULL | NULL | |
1412 | 1176 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 22000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 61694000 | 24736 | NULL | NULL | NULL | 303483000 | COMMITTED | YES | NULL | NULL | |
1411 | 1175 | root@192.168.30.20 | sys | Query | executing | 0 | SELECT * FROM `x$session` LIMIT 0, 25 | 48854227000 | NULL | 1004000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 45687000 | COMMITTED | YES | NULL | NULL | |
1398 | 1166 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 22000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 63575000 | 24736 | NULL | NULL | NULL | 314636000 | COMMITTED | YES | NULL | NULL | |
1399 | 1167 | root@192.168.30.20 | performance_schema | Query | removing tmp table | 0 | SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... | 720563000 | NULL | 277000000 | 4 | 1 | 0 | 7 | 0 | YES | NULL | NULL | 33091 | NULL | NULL | NULL | 421771000 | COMMITTED | YES | NULL | NULL | |
1400 | 1168 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 16000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 42845000 | 24736 | NULL | NULL | NULL | 445498000 | COMMITTED | YES | NULL | NULL | |
1401 | 1169 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | NULL | NULL | 222000000 | 31 | 1 | 0 | 2 | 0 | YES | SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_I... | 470973000 | 33091 | NULL | NULL | NULL | 218101000 | COMMITTED | YES | NULL | NULL | |
1408 | 1172 | pma@192.168.30.20 | NULL | Sleep | NULL | 0 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 18000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 49150000 | 24736 | NULL | NULL | NULL | 411491000 | COMMITTED | YES | NULL | NULL | |
1409 | 1173 | root@192.168.30.20 | mysql | Sleep | NULL | 0 | SELECT `SCHEMA_NAME` FROM `INFORMATION_SCHEMA`.`SC... | NULL | NULL | 407000000 | 156 | 31 | 0 | 3 | 0 | YES | SELECT `SCHEMA_NAME` FROM `INFORMATION_SCHEMA`.`SC... | 1333982000 | 33166 | NULL | NULL | NULL | 864036000 | 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 |
|