Skip to content
Monghoul
0:49

Explaining a ClickHouse read

Explain shows the parts and granules the key skipped.

ClickHouse · Explain shows the parts and granules the key skipped

Recorded on Monghoul 2.0.0-rc.1. No sound.

What happens

A count of three million ClickHouse events by kind is explained with a filter on user_id, the second column of the sorting key, and the plan reads 368 of 371 granules; one line is changed to a day of event_time, and the plan now reads 1 of 11 parts and 3 granules.