Repository navigation
[feature] show processlist supported. - #10782
Merged
Merged
Conversation
volgariver6
requested review from
XuPeng-SH,
aunjgr,
badboynt1,
daviszhen,
iamlinjunhong,
m-schen,
nnsgmsone,
ouyuanning,
qingxinhome,
reusee,
sukki37,
triump2020,
w-zr and
zhangxu19830126
as code owners
July 20, 2023 04:28
reusee
approved these changes
Jul 20, 2023
zhangxu19830126
approved these changes
Jul 20, 2023
volgariver6
force-pushed
the
issue10359
branch
2 times, most recently
from
July 20, 2023 05:33
b3e0f21 to
1007b46
Compare
nnsgmsone
approved these changes
Jul 20, 2023
ouyuanning
approved these changes
Jul 20, 2023
qingxinhome
approved these changes
Jul 20, 2023
daviszhen
approved these changes
Jul 20, 2023
volgariver6
force-pushed
the
issue10359
branch
4 times, most recently
from
July 20, 2023 08:52
d7fd32e to
ffacf69
Compare
w-zr
approved these changes
Jul 21, 2023
ghost
approved these changes
Jul 21, 2023
iamlinjunhong
approved these changes
Jul 21, 2023
aressu1985
approved these changes
Jul 21, 2023
badboynt1
approved these changes
Jul 21, 2023
triump2020
approved these changes
Jul 21, 2023
triump2020
approved these changes
Jul 21, 2023
Show information of all sessions on CN servers. For sys tenant,
show all sessions; for common tenant, show the sessoins that are
started by the tenant.
There three ways to show processlist:
1. SHOW PROCESSLIST;
2. SELECT * FROM processlist() a;
3. SELECT * FROM information_schema.processlist;
The result is as belows:
```
node_id: dd1dccb4-4d3c-41f8-b482-5251dc7a41bf
conn_id: 1201
session_id: d5e31e62-26b4-11ee-9cf1-f644820d18b1
account: sys
user: dump
host: 127.0.0.1:16001
db: test
session_start: 2023-07-20 04:21:01.946414
command: COM_QUERY
info: select * from information_schema.processlist
txn_id: 87e2a8b7470d4077b6e50748d99b2a73
statement_id: fec3c71e-26b4-11ee-9cf2-f644820d18b1
statement_type: Select
query_type: DQL
sql_source_type: external_sql
query_start: 2023-07-20 04:22:10.527457
```
sukki37
approved these changes
Jul 21, 2023
1 task done
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show information of all sessions on CN servers. For sys tenant, show all sessions; for common tenant, show the sessoins that are started by the tenant.
There three ways to show processlist:
The result is as belows:
What type of PR is this?
Which issue(s) this PR fixes:
issue #10359
What this PR does / why we need it: