---
title: "ClickHouse Cloud: Fast, Updatable Lookups with the Join Table Engine"
description: "ClickHouse's Join table engine keeps a precomputed in-memory hash map for a fixed join strictness, type and key."
url: "https://swe.quest/articles/clickhouse-cloud-fast-updatable-lookups-with-the-join-table-engine-b50f6e80ec781fcd"
canonical: "https://clickhouse.com/blog/join-table-engine"
source: "ClickHouse"
published: "2026-05-12"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 6
tags: ["analytics","databases","sql","cloud"]
---

# ClickHouse Cloud: Fast, Updatable Lookups with the Join Table Engine

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-05-12, 6 min read, Deep dive. Original: [https://clickhouse.com/blog/join-table-engine](https://clickhouse.com/blog/join-table-engine)

## Summary

ClickHouse's Join table engine keeps a precomputed in-memory hash map for a fixed join strictness, type and key. With ANY LEFT strictness, inserts behave as upserts, which suits Type 1 slowly changing dimensions as an updatable alternative to Dictionaries, queried via Direct Join or joinGet. In open source the engine isn't distributed and persists each insert as an uncompacted .bin file, which degrades over time. ClickHouse Cloud transparently backs Join tables with a SharedJoin over a MergeTree (ALL) or ReplacingMergeTree (ANY) table, refreshing memory with a FINAL query on insert and startup, so deduplication, compaction and clustering are handled automatically.

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)
- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

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

## Keywords

ClickHouse, ClickHouse Cloud, Join table engine, SharedJoin, ReplacingMergeTree, Dictionaries, joinGet, Kimball

## Related posts

- [ClickHouse Joins Under the Hood - Direct Join](https://swe.quest/articles/clickhouse-joins-under-the-hood-direct-join-4c5bfc57b28f012b.md): ClickHouse · 2023-06-07 · Medium · 15 min read · Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickHouse's direct join is its fastest join algorithm. It applies when the right-hand table sits on storage that supports low-latency key-value lookups: the Join engine, EmbeddedRocksDB or a Dictionary.
- [ClickHouse Release 24.12](https://swe.quest/articles/clickhouse-release-24-12-a4df30e6ccdd0296.md): ClickHouse · 2025-01-09 · Medium · 15 min read · Analytics & OLAP, Query engines, Performance engineering, SQL
  ClickHouse 24.12 adds LIKE and unknown-value equality/IN support for Enums, an experimental descending MergeTree sorting key, JSON subcolumns as primary key columns, Iceberg REST catalog (Unity, Polaris) and schema evolution support, and automatic JOIN side swapping via query\_plan\_join\_swap\_table.
- [Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 2](https://swe.quest/articles/join-me-if-you-can-clickhouse-vs-databricks-vs-snowflake-part-2-66aede87450dc5eb.md): ClickHouse · 2025-06-25 · Medium · 8 min read · Analytics & OLAP, Performance engineering, Query engines, SQL
  Replacing fact-to-dimension joins with in-memory dictionaries in ClickHouse Cloud sped up a 17-query join benchmark over 1.4 billion rows by 1.9–3.5× in total runtime, up to 6.6× on individual queries, and cut cost by up to 60%.
- [ClickHouse Cloud boosts performance with SharedMergeTree and Lightweight Updates](https://swe.quest/articles/clickhouse-cloud-boosts-performance-with-sharedmergetree-and-lightweight-updates-60af5576ecb3ec04.md): ClickHouse · 2023-08-17 · Medium · 24 min read · Storage engines, Replication, Analytics & OLAP, Cloud platforms, Scaling
  SharedMergeTree is a new ClickHouse Cloud table engine that replaces ReplicatedMergeTree (and its zero-copy replication variant) by moving both data and part metadata off the servers into shared object storage and ClickHouse Keeper.
- [ClickHouse Release 25.7](https://swe.quest/articles/clickhouse-release-25-7-3deecef07d4b1ccf.md): ClickHouse · 2025-08-08 · Medium · 13 min read · Analytics & OLAP, Query engines, Storage engines, Performance engineering
  ClickHouse 25.7 adds standard SQL UPDATE and DELETE built on lightweight "patch parts".

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)
