- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How to update data in ClickHouse (2025 edition)
ClickHouse has just made updating data significantly more straightforward with a new approach that uses familiar SQL syntax. Instead of rewriting entire data parts like the traditional ALTER TABLE method, this update mechanism creates lightweight "patch parts" that store only the changed values as deltas. These patches are applied at query time and eventually merged in the background, making small, frequent updates much more efficient than before.
🔸 Hands-on demonstration using the UK price paid dataset with 30 million rows
🔸 Understanding how patch parts work under the hood and how they differ from traditional mutations
🔸 Exploring virtual columns like _part, _block_number, and _block_offset that make this possible
🔸 Querying system.parts and system.parts_columns to see exactly what's stored in each part
🔸 Performance considerations: when to use UPDATE syntax vs ALTER TABLE mutations
🔸 Practical examples of single-row and multi-row updates with immediate query results
The key takeaway is knowing when to use each approach. The new UPDATE syntax shines for frequent changes affecting roughly 10% or less of your table, while ALTER TABLE mutations remain the better choice for large-scale updates where you want optimal baseline query performance after the change completes.
Blog posts:
https://clickhouse.com/blog/updates-in-clickhouse-3-benchmarks
https://clickhouse.com/blog/updates-in-clickhouse-2-sql-style-updates
https://clickhouse.com/blog/update-performance-clickhouse-vs-postgresql
Видео How to update data in ClickHouse (2025 edition) канала ClickHouse
🔸 Hands-on demonstration using the UK price paid dataset with 30 million rows
🔸 Understanding how patch parts work under the hood and how they differ from traditional mutations
🔸 Exploring virtual columns like _part, _block_number, and _block_offset that make this possible
🔸 Querying system.parts and system.parts_columns to see exactly what's stored in each part
🔸 Performance considerations: when to use UPDATE syntax vs ALTER TABLE mutations
🔸 Practical examples of single-row and multi-row updates with immediate query results
The key takeaway is knowing when to use each approach. The new UPDATE syntax shines for frequent changes affecting roughly 10% or less of your table, while ALTER TABLE mutations remain the better choice for large-scale updates where you want optimal baseline query performance after the change completes.
Blog posts:
https://clickhouse.com/blog/updates-in-clickhouse-3-benchmarks
https://clickhouse.com/blog/updates-in-clickhouse-2-sql-style-updates
https://clickhouse.com/blog/update-performance-clickhouse-vs-postgresql
Видео How to update data in ClickHouse (2025 edition) канала ClickHouse
Комментарии отсутствуют
Информация о видео
4 декабря 2025 г. 16:28:10
00:04:04
Другие видео канала





















