Skip to content

SingleStore vs. ClickHouse: Benchmarks for Search, Joins and Real-Time Analytics

8 min read

The SingleStore and ClickHouse logos side by side

SingleStore and ClickHouse are both competitive for high-volume scans over data that rarely changes. When the same data also has to answer relevance-ranked searches, joins and updates, SingleStore runs that work in one engine with no second system to keep in sync, and in our search tests it ran those queries 7x to 65x faster.

Analytics systems now answer four kinds of questions: how many, which records match, what we know about those records and, increasingly, what an agent should do next. Each answer has to include the latest write while new events keep arriving and existing records change.

ClickHouse is a serious analytics engine. It was built for online analytical processing, or OLAP, and its native text indexes became generally available in ClickHouse 26.2. The four tests below show where the gap between the two engines opens and where it doesn’t.

Two ways to run search and analytics on live data

A security analyst searches event text for a suspicious domain. Once the matching records come back, the analyst filters them by tenant, joins the events with device and identity data, and analyzes activity by time or risk category. A support application that finds tickets mentioning a memory leak follows the same pattern: it needs customer details, subscription plan, ticket status and support history for every match.

In both cases, search runs alongside structured data, analytical queries and data that arrives continuously. As new events, transactions and application updates land, the application needs to search and analyze the latest records without waiting for a separate pipeline and index to catch up.

Teams build this in one of two ways:

  • Separate specialized systems: A search engine handles text retrieval, an analytical database processes trends, and an operational database manages application records. Data is copied or synchronized between the systems, and the application combines the results.
  • One database engine: A single database handles text search, relational joins, analytical queries, and transactional reads and updates while it ingests changing data. Applications search, enrich and analyze current records as new data arrives.

The first approach gives each job a specialized tool, at the cost of extra work on data movement, index synchronization, consistency and latency. The second removes those hand-offs by running ingestion, search, analytics and operational workloads in one SQL engine.

Neither architecture fits every workload. When an application needs to search and analyze changing data alongside operational records, a single engine such as SingleStore is the simpler design: there is no second system to keep in sync, and searches include the latest write.

Diagram: new or changed data flows into SingleStore, which runs text search, SQL joins, analytics, and reads and updates in one engine for an application or agent

Which workloads fit ClickHouse and which fit SingleStore?

ClickHouse fits high-throughput scans and aggregations over large, relatively stable single tables, such as logs, telemetry and event counts. The differences show up in joins, updates, relevance-ranked search and transactions on the same data.

In the table, OLAP means analytical queries and OLTP, online transaction processing, means transactions. HTAP, hybrid transactional and analytical processing, runs both on the same data.

SingleStore vs. ClickHouse: workload fit, as of December 2026

CapabilitySingleStoreClickHouse
Primary architectureDistributed SQL, HTAPDistributed columnar OLAP
Analytics (OLAP)Distributed analytical executionCore strength, with high-throughput analytics
Transactions (OLTP)Native ACID transactionsLimited suitability for transactional workloads
Mixed workloads (HTAP)Designed for concurrent OLTP and OLAPAnalytics-first, with more design work for mixed workloads
StorageRowstore and columnstorePrimarily columnar
Updates and deletesNative transactional DMLMutations and lightweight updates
Complex joinsNative distributed SQL joinsSupported, with performance that depends on workload and data layout
Data ingestionContinuous ingestion with PipelinesKafka integrations and continuous ingestion
Full-text searchApache Lucene-based indexesNative inverted text indexes
Search relevanceNative BM25 scoringNo native BM25 function, so we emulated it in SQL for our tests
Search enrichmentFull-text search with joins, filters and aggregationsText search with SQL analytics and joins
Vector searchIntegrated vector indexing and searchVector similarity functions and indexing

SingleStore combines distributed SQL, rowstore and columnstore storage, and HTAP in one engine. Ingestion, operational changes, search and analytics all work against the same copy of the data. For a longer feature-by-feature comparison, see SingleStore vs. ClickHouse: Why SingleStore Stands Out.

Both engines can run most of the same queries. What differs is the work around each engine to meet a latency, consistency and freshness target: how much denormalization, pre-aggregation, data synchronization and supporting infrastructure the team has to build and operate.

Why AI agents need to act on the latest write

AI agents add another kind of workload. A dashboard runs predictable queries, while an agent searches for information, follows relationships, applies filters, inspects recent changes and writes new queries based on what it finds. That only works when the data it reaches includes the latest transactions, events and operational changes.

When those workloads span separate systems, the application has to handle stale records, index lag and disagreements between the operational and analytical views. SingleStore runs transactions, continuous ingestion and analytical queries in one distributed SQL engine, so applications and agents can search, join, analyze and act on data as it arrives and changes.

Agents still need governed tools, scoped permissions, workload isolation and query controls. One engine means fewer systems to apply those controls to, and fewer places where the data an agent reads differs from the data it changes.

SingleStore vs. ClickHouse benchmark results

The results come from four tests, each with its own workload, dataset and configuration, so compare results within a test:

  • Full-text, vector and hybrid search: Our own evaluation of the retrieval an AI agent runs before it acts, from typo-tolerant and relevance-ranked text search to filtered vector search and searches that join to user and access-control data.
  • Join-heavy analytics and ingestion: Two third-party benchmarks of multi-table queries, from benchANT and Data-Sleek. Joins are how one engine combines data that a multi-system design keeps in separate stores, and the same tests show how each engine handles bulk ingestion.
  • Event filtering on 100 million events: A third-party test by Jack Ellis of the page and event filters behind an analytics dashboard, on raw events and rollup tables across 30-day to 5-year ranges.

Our own search tests ran SingleStore and ClickHouse on out-of-the-box configurations, with no schema or query tuning on either engine. Tuning would change the numbers for both. The third-party tests used their own setups, which we describe with each result.

For simple search-bar lookups on exact terms, the two engines finished within a millisecond of each other: 3.0ms for SingleStore and 3.7ms for ClickHouse. The gap opened once a search needed typo tolerance, regex, proximity, relevance ranking, vector filtering or a join.

We compared ClickHouse Cloud 26.6.1 and SingleStore Helios® 10.9.0 on a small dataset: 40,027 chunks from 1,830 Wikipedia video game articles, with 1,536-dimensional embeddings. Both ran on comparable hardware, each with its read replicas. We used both systems out of the box, the way a developer first meets them, and ran each query in isolation, so these are feature-level results without concurrent load. For a closer look at ClickHouse vector search, see SingleStore vs. ClickHouse: Why Consistent Vector Search Latency Matters.

The two search implementations are built differently. SingleStore’s full-text search runs on Apache Lucene, through a Lucene service that the SQL engine calls. That gives it BM25 relevance scoring, the industry standard for lexical scoring functions, plus fuzzy matching, proximity search and regex search. ClickHouse full-text search runs on its own inverted text index, which handles real-time indexing and exact-term matching well. Where ClickHouse has no native equivalent for a Lucene feature, we wrote the closest SQL version so both engines returned comparable results. Those workarounds appear in the chart below as hatched bars, which mark full scans or SQL emulation.

Bar chart of median latency by full-text search type for ClickHouse and SingleStore: exact match, wildcard or prefix, regex, proximity, BM25 ranking and fuzzy search

Largest gaps in our search tests (median latency)

QueryClickHouseSingleStoreSingleStore advantage
Filtered vector search, 1% filter, complete results258.4ms4.0ms65x faster
Fuzzy search (edit distance 1)219.9ms4.0ms55x faster
Personalized hybrid search through a join (user to tenant to visible chunks)234.2ms7.0ms33x faster
Vector search with access-control join218.4ms8.5ms26x faster
Regex search61.5ms3.0ms21x faster
Proximity search (within three words)61.1ms3.0ms20x faster
BM25 relevance ranking64.7ms8.0ms8x faster
Hybrid search with reciprocal rank fusion (BM25 and vector)70.4ms10.0ms7x faster
Vector search at highest recall reached59.6ms9.0ms7x faster

Join-heavy analytics and ingestion

Joins are where the two architectures differ most. In a 1 TB TPC-DS benchmark run by benchANT and published in May 2025, SingleStore Helios 8.9 on an S-8 cluster outperformed ClickHouse Cloud 24.12 across the untuned join workload. After the ClickHouse query was rewritten to follow ClickHouse’s recommended join order, SingleStore was still about 10x faster on the large-join query.

An earlier TPC-H comparison by Data-Sleek, charted below, found single-table query performance comparable, with SingleStore 3x to 186x faster on selected join-heavy queries. ClickHouse performed well on bulk ingestion and single-table analytics in the same test. Our SingleStore vs. ClickHouse comparison page covers ingestion and write batching in more detail.

Data-Sleek bar chart of TPC-H query runtimes for ClickHouse and SingleStore across 11 queries, where ClickHouse did not complete query 11

Both join tests predate ClickHouse’s recent join improvements and SingleStore’s recent columnstore performance improvements, so treat these results as specific to the versions named.

Event filtering on 100 million events

Jack Ellis published a test on X comparing SingleStore, ClickHouse and TimescaleDB on filter queries over 100 million events, with no page index on any engine. Each result is the median of five runs after two warm-ups, with one engine running at a time on the same 4 vCPU VM. SingleStore returned the fastest result in every page and event filter he reported, on raw events and rollup tables, across 30-day, 1-year and 5-year ranges. On rollup tables, for example, the 5-year event filter took 111ms on SingleStore and 653ms on ClickHouse.

Jack Ellis’s results table for filter queries on 100 million events, SingleStore and ClickHouse, on rollup tables and raw events across 30-day, 1-year and 5-year ranges

Choosing between SingleStore and ClickHouse

Start from the workload you run. When the data is append-only, such as logs, metrics and telemetry that never change, and every question is a scan, ClickHouse is usually the cheaper engine, so compare the two on cost and latency for your queries. When the same data also has to answer relevance-ranked searches, join across entities, take updates, and serve applications and agents while it changes, one engine removes the copies and sync jobs a multi-system design needs.

The next step is to test one workload. Pick a query that combines search, joins and data that changes, and run it on both engines with your own data.

See how SingleStore compares with other leading databases

Compare SingleStore with Postgres, MySQL, Snowflake and other databases, workload by workload, including when to keep the database you already run.

Compare databases