v.19.16New Feature

Add Deduplicate_blocks_in_dependent_materialized_views Option to Control the Behaviour of Idempotent Inserts into Tables with Materialized Views

Add deduplicate_blocks_in_dependent_materialized_views option to control the behaviour of idempotent inserts into tables with materialized views. This new feature was added to the bugfix release by a special request from Altinity. #9070 (urykhy)
Added the deduplicate_blocks_in_dependent_materialized_views setting to control deduplication behavior during idempotent inserts into tables with materialized views.

Why it matters

This feature solves the problem of controlling how deduplication is handled when performing idempotent inserts on tables that have dependent materialized views. It provides users with the ability to enable or disable deduplication in such scenarios, improving data consistency and preventing unintended duplicates.

How to use it

Users can enable or disable this behavior by setting the deduplicate_blocks_in_dependent_materialized_views option in the server configuration or as a session setting. For example, to enable deduplication, set:

SET deduplicate_blocks_in_dependent_materialized_views = 1;


To disable it, set the value to 0.