Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 20 min read Deep dive mediumAdept

Are open-table-formats + lakehouses the future of observability?

Lakehouses built on open table formats like Apache Iceberg and Delta Lake are becoming viable for observability, combining Parquet's columnar compression, encodings, page and row-group statistics, and Bloom filters with table-level schema evolution, partitioning, snapshots, and catalogs. At telemetry scale they run into real problems. Partitioning involves tradeoffs between small-file explosion and wide scans, metadata and manifests grow with high ingest, optimistic-concurrency commits contend under many writers, Parquet handles semi-structured data and point lookups poorly, and object storage adds latency. Liquid clustering, Parquet's new VARIANT type, and formats like Lance are narrowing these gaps, while engines like ClickHouse handle batching, sorting, and merges natively.

Assumes: columnar storage basicsobject storageobservability data types

Related posts

  • Zero-ETL lakehouses for Postgres people

    Neon easyNovice

    Data lakehouses unbundle an OLAP database into six layers: object storage, raw data formats like Parquet, table formats like Iceberg or Delta Lake, a metadata catalog such as Unity Catalog or DuckLake, compute, and query engines like Spark or DuckDB. This layering gives warehouse-like SQL, ACID and snapshots at close to data-lake cost. The explanation is aimed at Postgres users and covers why OLAP systems favour column-oriented, time-chunked and partitioned storage, why HTAP has lost out to zero-ETL sync between separate OLTP and OLAP systems, and how separating storage from compute shapes the stack. Parquet and Iceberg are emerging as favourites, and the Postgres extensions pg_duckdb, pg_lake and pg_mooncake are highlighted as bridges between Postgres and lakehouses.

  • ClickHouse is data lake ready

    ClickHouse mediumAdept

    ClickHouse now queries Apache Iceberg and Delta Lake tables in place on S3, GCS and Azure, either directly or through catalogs such as AWS Glue, Unity, Polaris, BigLake, OneLake and Iceberg REST. Teams can load lake data into the native MergeTree engine when they need sub-second, high-concurrency queries, and can write results back to open formats. The groundwork took two years of releases: a native Parquet reader with page-level parallelism that reads about 1.8x faster on ClickBench, integration of the Delta Rust Kernel, Iceberg time travel and DML, and parallel replicas. Worked examples against a 1.29-billion-row NYC taxi Iceberg table show in-place scans taking 50 to 130 seconds before ingestion into MergeTree for faster querying.

  • Climbing the Iceberg with ClickHouse

    ClickHouse mediumAdept

    ClickHouse fits into data lake and lakehouse architectures in three common ways: incrementally loading object-storage or Iceberg data via s3cluster/S3Queue (or double-writing from Kafka), running ad-hoc and federated queries against Iceberg, Delta and Hudi tables plus PostgreSQL, MySQL and MongoDB, and frequently querying shared lakehouse datasets. Version 24.12 adds an Iceberg REST catalog database engine, tested with Snowflake's Polaris, so tables can be discovered and queried without explicit paths. Version 24.11 adds icebergS3Cluster for distributed reads, cutting a 96-billion-row scan from about 2,595s to 907s on three nodes. Planned work covers Iceberg partition pruning, schema evolution and time travel, Delta support via the Rust Delta Kernel, and Glue and Unity catalogs.

  • ClickHouse and Parquet: A foundation for fast Lakehouse analytics

    ClickHouse mediumAdept

    ClickHouse queries Parquet files directly, without ingestion, through a format-specific reader that currently parses via Arrow and then converts into ClickHouse's in-memory format. Performance rests on two things: parallelism and I/O reduction. Parallelism comes from prefetch threads, parsing threads, file streams and processing lanes. File streams are computed as min(max_threads, num_files), and parsing threads per file as max(max_parsing_threads / num_files, 1), with EXPLAIN Pipeline examples showing the resulting plans. A third native reader, "Yet Another Parquet Reader", is in development to drop the Arrow layer and improve parallelism and I/O efficiency, and the current reader serves as the benchmark baseline.

  • Building an Observability Solution with ClickHouse at Dash0

    ClickHouse hardMaster

    Dash0 stores all OpenTelemetry metrics, logs and spans in ClickHouse, using PostgreSQL only for customer settings, so signals can be joined and correlated in one system. The setup tiers storage with 1-2 days on local disk, then AWS S3 plus a local cache, driven by TTL moves, and keeps metrics for 13 months. Tables are ordered by a ResourceHash before Timestamp for better filtering and compression, with daily partitions bounding time ranges, and the cluster runs as a single shard with multiple replicas. Metric metadata is deduplicated into an AggregatingMergeTree table keyed by MetricHash with FirstSeen/LastSeen tracking, and queries against it must use GROUP BY or FINAL because merges are not guaranteed to have happened.

The quest for software engineering knowledge.

Look:
Layout: