Skip to content

Commit e3b08d3

Browse files
committed
updated mysql_sessions.sql
1 parent 7b1a1ec commit e3b08d3

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

mysql_sessions.sql

+25-25
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@
2323
-- sys doesn't exist in MySQL <= 5.6 or MariaDB 10.5
2424

2525
SELECT
26-
user,
27-
db,
28-
program_name,
29-
command,
30-
state,
31-
time,
32-
current_statement,
33-
current_memory,
34-
progress,
35-
lock_latency,
36-
rows_examined,
37-
rows_sent,
38-
rows_affected,
39-
tmp_tables,
40-
tmp_disk_tables,
41-
full_scan,
42-
last_statement,
43-
last_statement_latency,
44-
last_wait,
45-
last_wait_latency,
46-
trx_latency,
47-
trx_state
26+
user,
27+
db,
28+
program_name,
29+
command,
30+
state,
31+
time,
32+
current_statement,
33+
current_memory,
34+
progress,
35+
lock_latency,
36+
rows_examined,
37+
rows_sent,
38+
rows_affected,
39+
tmp_tables,
40+
tmp_disk_tables,
41+
full_scan,
42+
last_statement,
43+
last_statement_latency,
44+
last_wait,
45+
last_wait_latency,
46+
trx_latency,
47+
trx_state
4848
FROM
49-
sys.session
49+
sys.session
5050
WHERE
51-
user <> 'sql/event_scheduler'
51+
user <> 'sql/event_scheduler'
5252
ORDER BY
53-
current_memory DESC;
53+
current_memory DESC;

0 commit comments

Comments
 (0)