---
title: "Welcome, chDB"
description: "chDB is a community-built embedded SQL OLAP engine that packages ClickHouse as an in-process Python module, similar in spirit to DuckDB, for local analytics, ETL and exploration without running a server."
url: "https://swe.quest/articles/welcome-chdb-80fea87c647d8ab8"
canonical: "https://clickhouse.com/blog/welcome-chdb-to-clickhouse"
source: "ClickHouse"
published: "2023-08-31"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["analytics","python","databases","open-source"]
---

# Welcome, chDB

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-08-31, 7 min read, Announcement. Original: [https://clickhouse.com/blog/welcome-chdb-to-clickhouse](https://clickhouse.com/blog/welcome-chdb-to-clickhouse)

## Summary

chDB is a community-built embedded SQL OLAP engine that packages ClickHouse as an in-process Python module, similar in spirit to DuckDB, for local analytics, ETL and exploration without running a server. Instead of shelling out to clickhouse-local via pipes, which adds 10–50 ms of process startup per query and copies results, chDB hooks into ClickHouse's read/write buffers and exchanges data through MemoryView. Examples show querying Parquet and gzipped CSV on S3 with schema inference, returning results as CSV, Pandas DataFrames or Arrow tables, and running SQL directly over DataFrames. Bindings for Rust, Node.js and Go, persistent sessions backed by MergeTree, UDFs and ARM64 support are in progress or recently added.

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)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- Python and Pandas ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

chDB, ClickHouse, clickhouse-local, Pandas, Apache Arrow, DuckDB, Parquet, S3

## Related posts

- [How we made querying Pandas DataFrames with chDB 87x faster](https://swe.quest/articles/how-we-made-querying-pandas-dataframes-with-chdb-87x-faster-1ee5b7d8017e769d.md): ClickHouse · 2024-08-29 · Medium · 8 min read · Python, Performance engineering, Query engines, Analytics & OLAP, C & C++
  chDB, the in-process embedded ClickHouse, sped up SQL queries over Pandas DataFrames 87x by replacing its original Parquet serialize/deserialize round-trip through file descriptors with a native Python table engine that reads Python objects directly.
- [Announcing chDB 4: write Pandas, run ClickHouse, now on Hex](https://swe.quest/articles/announcing-chdb-4-write-pandas-run-clickhouse-now-on-hex-3e3042b3b93d1f1e.md): ClickHouse · 2026-03-11 · Medium · 11 min read · Analytics & OLAP, Query engines, Python, Performance engineering
  chDB 4 adds DataStore, a Pandas-compatible API that records operations lazily as a chain of LazyOps, then compiles them into ClickHouse SQL with filter pushdown, column pruning and limit propagation, executing in-process on the ClickHouse engine.
- [Introducing chdb Postgres extension: High-performance imports from cloud storage](https://swe.quest/articles/introducing-chdb-postgres-extension-high-performance-imports-from-cloud-storage-ca34f0fd59105471.md): ClickHouse · 2026-09-08 · Medium · 7 min read · PostgreSQL, Data pipelines, Storage systems, Performance engineering
  chdb is a new Postgres extension that uses the in-process ClickHouse engine chDB to import and export data in dozens of formats (CSV, JSON, Parquet, Avro, Arrow, ORC, Protobuf and more) from S3, GCS, Azure, HDFS, HTTP and local files, via a chdb\_query() function and a chdb\_hook module that extends COPY and CREATE TABLE.
- [Querying Pandas DataFrames with ClickHouse](https://swe.quest/articles/querying-pandas-dataframes-with-clickhouse-f6443dd364e0e7c9.md): ClickHouse · 2023-11-15 · Medium · 4 min read · Python, Analytics & OLAP, SQL
  chDB, an embedded Python library built on the ClickHouse engine, can run SQL directly against Pandas DataFrames through the chdb.dataframe module.
- [The Journey to Zero-Copy: How chDB Became the Fastest SQL Engine on Pandas DataFrame](https://swe.quest/articles/the-journey-to-zero-copy-how-chdb-became-the-fastest-sql-engine-on-pandas-b4ab858523515f13.md): ClickHouse · 2026-01-09 · Medium · 8 min read · Python, Performance engineering, Analytics & OLAP, Query engines
  chDB, ClickHouse embedded as a Python library, removed the four serialization steps that made every v1 query take over 100ms by reading Pandas DataFrames in place.

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)
