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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
520 | 456 | pma@192.168.30.20 | NULL | Sleep | NULL | 1 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 23000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 68547000 | 24736 | NULL | NULL | NULL | 495636000 | COMMITTED | YES | NULL | NULL | |
521 | 457 | pma@192.168.30.20 | NULL | Sleep | NULL | 1 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 20000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 63526000 | 24736 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | |
524 | 460 | pma@192.168.30.20 | NULL | Sleep | NULL | 1 | SHOW TABLES FROM `phpmyadmin` | NULL | NULL | 19000000 | 0 | 0 | 0 | 0 | 0 | NO | NULL | 54540000 | 24736 | NULL | NULL | NULL | 480862000 | COMMITTED | YES | NULL | NULL | |
525 | 461 | root@192.168.30.20 | sys | Query | executing | 1 | SELECT * FROM `x$session` LIMIT 0, 25 | 615204340000 | NULL | 868000000 | 0 | 0 | 0 | 4 | 0 | YES | NULL | NULL | 400828 | NULL | NULL | NULL | 52965000 | COMMITTED | YES | NULL | NULL | |
526 | 462 | root@192.168.30.20 | NULL | Sleep | NULL | 0 | SET NAMES 'utf8mb4' COLLATE 'utf8mb4_general_ci' | NULL | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NO | SET NAMES 'utf8mb4' COLLATE 'utf8mb4_general_ci' | 62884000 | 24744 | NULL | NULL | NULL | 2838369000 | COMMITTED | YES | NULL | NULL | |
522 | 458 | root@192.168.30.20 | performance_schema | Query | checking permissions | 0 | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | 311355000 | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NO | NULL | NULL | 33113 | NULL | NULL | NULL | 1264942000 | COMMITTED | YES | NULL | NULL | |
523 | 459 | root@192.168.30.20 | performance_schema | Sleep | NULL | 0 | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | NULL | NULL | 543000000 | 10 | 1 | 0 | 2 | 0 | YES | SELECT (COUNT(DB_first_level) DIV 100) * 100 from ... | 1002653000 | 33091 | NULL | NULL | NULL | 408026000 | 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 |
|