Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Learn how to capture server logs of queries at the client.
A client can view the server logs - even at a different level than what the server log level is configured to - by setting thesend_logs_level client setting.
For example, suppose the client runs:
send_logs_level to monitor the insertion of rows into a Distributed table:
- Enable logs in
clickhouse-clientusingSET send_logs_level = 'trace'; - Run your
INSERTquery - Inserts into a distributed table are asynchronous by default. The data is written into a local buffer on disk, then sent to remote servers in background.
- Logs will be sent from all nodes participating in the query processing (distributed tracing)
system.distribution_queue table. This table contains information about local files that are in the queue to be sent to the shards. These local files contain new parts that are created by inserting new data into the Distributed table in asynchronous mode.