mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Sort descendingly by elapsed time
This commit is contained in:
parent
191f780223
commit
8d91a9f4c2
@ -12,7 +12,7 @@ namespace DB
|
||||
|
||||
BlockIO InterpreterShowProcesslistQuery::execute()
|
||||
{
|
||||
return executeQuery("SELECT * FROM system.processes ORDER BY query_id", getContext(), true);
|
||||
return executeQuery("SELECT * FROM system.processes ORDER BY elapsed DESC", getContext(), true);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user