ClickHouse/docs/en/system_tables/system.processes.md
2018-04-23 09:20:21 +03:00

1.4 KiB
Raw Blame History

system.processes

This system table is used for implementing the SHOW PROCESSLIST query. Columns:

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.