Тёмный

Materialized Views and Projections Under the Hood 

ClickHouse
Подписаться 9 тыс.
Просмотров 22 тыс.
50% 1

This video looks under the hood of Materialized Views and Projections in ClickHouse and explains how automatic incremental data transformation works in ClickHouse. For more like this, go take our free training in ClickHouse Academy: learn.clickhou....

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@zingsting9595
@zingsting9595 10 месяцев назад
This should be one of the first videos to be presented to clickhouse noobs as it contains the very basic concept of parts and merges that are not very well introduced in the written documentation. Either update the docs or change the title of the video to intro to clickhouse.
@joesligo1516
@joesligo1516 Год назад
Extremely helpful video, particularly explaining the concepts on agg mergetrees in theory never merging to a single file. It was very counterintuitive for me at first.
@mayankpant5376
@mayankpant5376 Год назад
Projection is great. if you have very defined use-case, it abstracts away all the complexity of materialized view. Will we be able to create separate indexes on projection queries too?
@belferman
@belferman Год назад
Fantastic explanation, made it very simple. Thanks!
@karthikv2k
@karthikv2k Год назад
If i create a projection on a table that has data, will the project process both existing and new data to that table or just only new inserts?
@ClickHouseDB
@ClickHouseDB Год назад
Sorry for delay. I will ask and let you know. You can also, always, join our Slack to chat in realtime.
@ClickHouseDB
@ClickHouseDB Год назад
If you just create the projection (ALTER TABLE ... ADD PROJECTION ...) then only new inserts are processed also by the projection. But if you create + materialize (ALTER TABLE ... ADD PROJECTION ... + ALTER TABLE ... MATERIALIZE PROJECTION ...), then also all existing data is transformed. You can see an example in this tutorial: clickhouse.com/docs/en/getting-started/example-datasets/uk-price-paid#speedup-with-projections
@slavabutyrkin
@slavabutyrkin Год назад
Very clear explanation. Thanks!
@kokizzu
@kokizzu Год назад
very nice video :3 love this a lot
@fille.imgnry
@fille.imgnry 9 месяцев назад
Great explanations, except that the avg price example in the materialized view is actually showing the sum of the prices. 😮
@LukasLalinsky
@LukasLalinsky 5 месяцев назад
It stores the sum and the number of values contributing to the sum. That's the aggregation state. You can get the avg from sum/count.
Далее
Microservices with Databases can be challenging...
20:52
Обменялись песнями с POLI
00:18
Просмотров 260 тыс.
ClickHouse at Scale
26:44
Просмотров 13 тыс.
Performance introspection EXPLAIN clause
17:31
Просмотров 6 тыс.