Skip to content

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

ClickHouse 8 min read Announcement mediumAdept

ClickHouse Newsletter November 2022: The purifying effects of obfuscation

ClickHouse Cloud pricing now charges only for compute and storage, and ClickHouse 22.10 adds S3 backups (full and incremental), `SET setting = DEFAULT`, forced merging of old parts via `min_age_to_force_merge_seconds`, a relaxed too-many-parts check for large partitions, new random-distribution functions and a preview Kafka Connect sink with exactly-once semantics. The featured query shows how `clickhouse-obfuscator` turns a real dataset, demonstrated on 26.7M UK property sales in Parquet, into synthetic data that keeps row count, cardinality and value distributions close to the original. That matters for realistic GROUP BY memory and performance testing, but the output is neither encrypted nor hashed and is not automatically safe to share. Also covered: upcoming meetups and webinars, plus links to migration stories and tuning posts.

Related posts

  • Five Methods For Database Obfuscation

    ClickHouse hardMaster

    ClickHouse needed publishable benchmark data that kept the properties driving analytical query performance in its private web analytics dataset: compression ratio, per-column and cross-column cardinality, and value distributions such as power laws. The post compares approaches to obfuscating that data. Hand-written probabilistic models in C++ were too laborious and specific to one dataset. An LSTM that generated TSV dumps produced gigabyte-sized models, ran at about 100 rows per second and distorted character frequencies. Mutating the literals inside LZ4-compressed data preserved compression ratio and decompression speed while removing every original byte, guided by heuristics that keep structure such as valid UTF-8.

  • ClickHouse Release 23.8

    ClickHouse mediumAdept

    ClickHouse 23.8 makes file reads much faster by using Parquet row-group min/max statistics to skip data, answering count() from file metadata, and pruning files via the _file virtual column without reading them. On a 126GiB PyPI Parquet dataset in GCS, a count dropped from 26.5s to 11.4s, a time-range filter from 84s to 35s, and a 10% filename sample from 4.6s to 0.6s. The release also adds the S3Queue table engine for streaming ingestion from S3. It tracks processed files in ClickHouse Keeper using an unordered mode (with TTL and file-count limits) or an ordered mode keyed on filenames. Direct querying of zip, tar and 7z archives via the file function is also new.

  • Fast, Feature Rich and Mutable : ClickHouse Powers Darwinium's Security and Fraud Analytics Use Cases

    ClickHouse easyNovice

    Darwinium, a digital risk and fraud platform, chose ClickHouse to back interactive security and fraud analytics over large, wide, long-retention event data. Its reasons were simpler ingestion than immutable HDFS-style pipelines, AggregatingMergeTree tables that maintain rollups without a separate pipeline, and a single server absorbing thousands of writes per second on ~3k-column rows at under 5% CPU. Map, Array and JSON types absorb fast-changing model signals without schema churn, and tiered SSD-to-S3 retention, sharding and replication handle cost and availability. Group-by queries on a 40M-row, ~3k-column table under varying analyst concurrency are charted as evidence of sub-second interactive performance.

  • Corsearch replaces MySQL with ClickHouse for content and brand protection

    ClickHouse easyNovice

    Corsearch replaced a pre-aggregated, heavily partitioned MySQL setup with ClickHouse to serve interactive anti-piracy search-engine analytics across 10+ filterable dimensions with daily, weekly and monthly rollups. It began as a drop-in prototype with a nearly identical table structure and was in production for all clients by 2019. Compression gains, helped further by LowCardinality columns, cut server count. Corsearch also runs SQL-based vector distance searches over language-model embeddings in ClickHouse instead of a dedicated vector database, and built a two-table SQL-based observability setup with Grafana that stores over 10 billion rows across four years in under 325 GB.

  • What’s New in ClickHouse 22.1

    ClickHouse mediumAdept

    ClickHouse 22.1 adds schema inference for table functions like url, s3, file and hdfs, detecting format and compression from the file extension and reading column types from self-describing formats such as Native, Parquet, Avro and ORC. For Parquet it uses range requests to fetch only the footer metadata. Other additions include experimental parallel query processing across replicas with dynamic work distribution, ZooKeeper-path-based cluster service discovery, and automatic sparse column serialization for mostly-default columns, selected from statistics gathered on insert and merge. The release also brings live CPU/memory usage in clickhouse-client, Hive and Azure Blob Storage integrations, and Cramér's V and Theil's U functions.

The quest for software engineering knowledge.

Look:
Layout: