Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Show HN: ChDB-WASM – ClickHouse running in the browser via WebAssembly

ChDB-WASM brings ClickHouse, a fast SQL analytics database, directly into the browser using WebAssembly. This allows users to run SQL queries on large datasets locally without a backend server, leveraging ClickHouse's columnar engine for performance.

Background

- ClickHouse is a popular open-source column-oriented database known for its speed in analytical queries (large-scale data aggregation, not row-by-row transactions). It is normally a server-side system. - chDB is a lightweight, embeddable version of ClickHouse (like SQLite is for traditional databases). It lets developers run ClickHouse-style SQL inside their own programs without a separate database server. - This project compiles chDB into WebAssembly (WASM), a binary format that modern browsers can execute at near-native speed. That means ClickHouse's analytical SQL engine now runs entirely in a web page — no backend server needed. - The demo lets you query in-browser CSV/Parquet data using ClickHouse SQL dialect, making it useful for prototyping, data exploration, or edge cases where sending data to a server is undesirable (privacy, latency, offline use).

Related stories