ClickHouse/docs/en/system_tables/system.processes.md
2018-03-30 03:15:52 +03:00

26 lines
1.4 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# system.processes
This system table is used for implementing the `SHOW PROCESSLIST` query.
Columns:
```text
user String Name of the user who made the request. For distributed query processing, this is the user who helped the requestor server send the query to this server, not the user who made the distributed request on the requestor server.
address String The IP address that the query was made from. The same is true for distributed query processing.
elapsed Float64 The time in seconds since request execution started.
rows_read UInt64 The number of rows read from the table. For distributed processing, on the requestor server, this is the total for all remote servers.
bytes_read UInt64 The number of uncompressed bytes read from the table. For distributed processing, on the requestor server, this is the total for all remote servers.
UInt64 total_rows_approx The approximate total number of rows that must be read. For distributed processing, on the requestor server, this is the total for all remote servers. It can be updated during request processing, when new sources to process become known.
memory_usage UInt64 Memory consumption by the query. It might not include some types of dedicated memory.
Query String The query text. For INSERT, it doesn't include the data to insert.
query_id Query ID, if defined.
```