---
title: "ClickHouse 22.2 Released"
description: "ClickHouse 22.2 makes projections production-ready: alternate sort orders and aggregations stored in the same data parts, updated atomically with the main table and chosen automatically by the query optimizer, unlike materialized views."
url: "https://swe.quest/articles/clickhouse-22-2-released-cb382bb271f76cf3"
canonical: "https://clickhouse.com/blog/clickhouse-22-2-released"
source: "ClickHouse"
published: "2022-02-24"
difficulty: "medium"
kind: "Release"
reading_minutes: 5
tags: ["analytics","databases","replication"]
---

# ClickHouse 22.2 Released

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2022-02-24, 5 min read, Release. Original: [https://clickhouse.com/blog/clickhouse-22-2-released](https://clickhouse.com/blog/clickhouse-22-2-released)

## Summary

ClickHouse 22.2 makes projections production-ready: alternate sort orders and aggregations stored in the same data parts, updated atomically with the main table and chosen automatically by the query optimizer, unlike materialized views. Other additions include settings for append, truncate or new-file behavior when exporting to file/S3/HDFS (Parquet and S3 can't append), custom insert deduplication tokens for exactly-once inserts, EPHEMERAL columns that feed DEFAULT/MATERIALIZED expressions, and automatic repair of broken disks from replicas without a restart. An experimental soft/hard memory limit scheme lets queries exceed a guaranteed limit when memory is free, and kills the most overcommitted query under pressure.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)

## Prerequisites

- ClickHouse MergeTree tables ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

ClickHouse, ClickHouse 22.2, Projections, ReplicatedMergeTree, Materialized Views, S3, HDFS, Parquet

## Related posts

- [ClickHouse Release 25.6](https://swe.quest/articles/clickhouse-release-25-6-783d976caa8e5340.md): ClickHouse · 2025-07-02 · Medium · 12 min read · Analytics & OLAP, Query engines, Storage engines, Consistency models
  ClickHouse 25.6 (25 features, 32 performance optimizations, 105 bug fixes) can take a single consistent storage snapshot across all subqueries and CTEs in a SELECT, controlled by enable\_shared\_storage\_snapshot\_in\_query.
- [ClickHouse Release 26.1](https://swe.quest/articles/clickhouse-release-26-1-95ef64a0953c6443.md): ClickHouse · 2026-02-11 · Medium · 14 min read · Analytics & OLAP, Databases, Observability, Storage engines
  ClickHouse 26.1 ships 25 new features, 43 performance optimizations and 176 bug fixes.
- [ClickHouse 22.3 LTS Released](https://swe.quest/articles/clickhouse-22-3-lts-released-3d54b5a68fa989fa.md): ClickHouse · 2022-04-12 · Medium · 9 min read · Analytics & OLAP, Databases, Testing, Storage systems
  ClickHouse 22.3 is a long-term support release (supported through March 2023) focused on maturity and reliability.
- [ClickHouse Release 26.3](https://swe.quest/articles/clickhouse-release-26-3-ea6c8bff46efb19b.md): ClickHouse · 2026-04-07 · Medium · 15 min read · Analytics & OLAP, Query engines, Storage engines, SQL, WebAssembly
  ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes.
- [ClickHouse Release 24.3](https://swe.quest/articles/clickhouse-release-24-3-88245754748d4a42.md): ClickHouse · 2024-04-09 · Medium · 11 min read · Analytics & OLAP, Query engines, SQL, Cloud platforms
  ClickHouse 24.3 enables the new query analyzer by default (beta), which fixes nested CTE/join column resolution, allows multiple ARRAY JOIN clauses, treats tuple elements like columns, and supports lambda aliases; the old implementation is slated for removal in 24.4/24.5.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
