Skip to content

How Varonis migrated analytics from PostgreSQL to ClickHouse

YouTube Video: OnBOcjW7LX4

Ido Perry explains how Varonis moved activity-event analytics from PostgreSQL to ClickHouse Cloud, simplified its multi-tenant data model, and reduced query latency and storage.

Varonis processes around 3 billion activity events a day. In this talk, Ido Perry, Staff Platform Engineer at Varonis, explains why the team moved its activity-event analytics from PostgreSQL to ClickHouse Cloud, and how it migrated historical data while keeping live events flowing.

The team replaced more than 1,000 single-tenant PostgreSQL databases with one multi-tenant ClickHouse table. Ido walks through the data model, including a sorting key built around tenant and query patterns, six skip indexes, and the move away from an index-heavy PostgreSQL design that slowed writes.

The session also covers the migration options Varonis evaluated and the approach it chose: Temporal workflows, RDS snapshot exports to Amazon S3, and dual writes for live events. Learn how the team used ReplacingMergeTree and query-time deduplication to handle overlapping data.

Compared with its previous PostgreSQL setup, Varonis reports approximately 70% lower mean analytical-query latency and 40% lower mean event-write latency. Stored data fell from 80 TB to approximately 10 TB with compression. These are results from Varonis’s workload.

Presented at the ClickHouse Tel Aviv Meetup. The talk is in Hebrew with English presentation slides.

Build real-time analytics with ClickHouse Cloud

Try ClickHouse on your own data with $300 in free credits.

Try ClickHouse Cloud

Related videos

YouTube Video: XVu4pb_6mHw

Meetups

HPE EdgeConnect: From MySQL to ClickHouse Cloud

Vignesh Senapathy, Sr.Principal Devops Engineer, explain why HPE moved its telemetry from MySQL to ClickHouse Cloud

YouTube Video: 95TslI4AqwY

User stories, Meetups

How Equativ powers real-time advertising products with ClickHouse Cloud

Adrien Coulaud and Jean-Denis Costa explain how Equativ uses ClickHouse Cloud for customer-facing reporting, fast lookups, and operational feedback across its advertising products.

YouTube Video: mc3K4unjRKQ

Meetups

ClickHouse Bangkok Meetup - NEOZO Cloud

Maximilian Simmoteit shows how NEOZO Cloud uses ClickHouse to serve BI dashboards, vector search through SQL, and time-series logs from its lakehouse architecture.

Follow us

XBlueskySlackGithubTelegramMeetupRSS