Search Articles — Sudonull

Search Results

In this project

ClickHouse Materialized Views: Nuances and Solutions

https://sudonull.com/clickhouse-materialized-views-nuances-and-solutions

How MV Works in ClickHouse? Critical Differences from Classical DBMS, UPDATE/DELETE Limitations and Best Practices. Learn How to Avoid Design Errors.

ClickHouse Materialized Views: triggers on INSERT

https://sudonull.com/clickhouse-materialized-views-triggers-on-insert

How MV work in ClickHouse: incremental aggregation, chains minute→hour→day, Null+Kafka pattern, POPULATE and its dangers. Examples with SummingMergeTree and AggregatingMergeTree.

MV in ClickHouse: data loss and control

https://sudonull.com/mv-in-clickhouse-data-loss-and-control

Analysis of risks of materialized views in ClickHouse: schema errors, block insert, monitoring system.query_views_log. How to avoid losses in production. Practical code examples.

ClickHouse: deduplication and losses in MV

https://sudonull.com/clickhouse-deduplication-and-losses-in-mv

Analysis of data losses in ClickHouse due to block deduplication in materialized views. Settings insert_deduplicate=0 and deduplicate_blocks_in_dependent_materialized_views=1. Configure lossless storage — read the details.

SummingMergeTree and AggregatingMergeTree in ClickHouse

https://sudonull.com/summingmergetree-and-aggregatingmergetree-in-clickhouse

Incremental aggregation in ClickHouse: how SummingMergeTree and AggregatingMergeTree speed up dashboards by 100 times. Examples, materialized views, pitfalls, and comparison.

Trending Now