Skip to content

Conversation

@Felixoid
Copy link
Collaborator

Not sure about unmarshalling, but the rest works fine

@Felixoid Felixoid requested review from Civil and lomik May 14, 2021 13:10
Copy link
Member

@Civil Civil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only wonder if it's "free" on Clickhouse side and it won't be better to make this either sampled or configurable.

@Felixoid Felixoid force-pushed the clickhouse-summary branch from 23104ed to abae38a Compare May 14, 2021 13:25
@Felixoid Felixoid force-pushed the clickhouse-summary branch from abae38a to 94be74f Compare May 14, 2021 13:27
@Felixoid
Copy link
Collaborator Author

Valid question.

The statistics themselves are calculated for each query in any case. Then they are written to system.query_log table and server.log file.

The header X-Clickhouse-Summary is even always sent from the server, but it's empty w/o send_progress_in_http_headers=1 setting. It's should be fixed in ClickHouse/ClickHouse#16207

@Felixoid Felixoid merged commit 900590a into master May 14, 2021
@Felixoid Felixoid deleted the clickhouse-summary branch May 25, 2022 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants