Softwr

Databases · head to head

ClickHouse vs Thanos

ClickHouse logo

ClickHouse

Databases

Fast open-source column-oriented database for real-time analytics

From
Free
Free plan
Yes
Thanos logo

Thanos

Cloud

Highly available Prometheus with long-term object storage

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Where ClickHouse falls short: limited multi-row atomic transactions and expensive UPDATE/DELETE operations unsuitable for transactional systems.
  • Where Thanos falls short: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes.

How do ClickHouse and Thanos differ?

ClickHouse and Thanos differ on platforms and category (Databases against Cloud). Only the attributes on which ClickHouse and Thanos actually diverge.

Attributes where ClickHouse and Thanos differ
AttributeClickHouseThanos
PlatformsLinux, macOS, WindowsSelf-hosted, Linux
CategoryDatabasesCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: pricing model for ClickHouse, founded for Thanos.

Which features does each one have?

They share no listed features; 17 appear only for ClickHouse and 4 only for Thanos. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in ClickHouse

  • Column-oriented Storage
  • Real-time Analytics
  • SQL Support
  • Linear Scalability
  • Data Compression
  • Vectorized Query Execution
  • Approximate Calculations
  • Kafka

Only in Thanos

  • Global query
  • Object storage retention
  • Deduplication
  • Downsampling

What is each one used for?

ClickHouse is most often brought in for business intelligence; Thanos for querying metrics across many clusters or regions from one place. The jobs each tool is most often brought in to do.

ClickHouse

  • Business intelligencenot Thanos
  • Data warehousingnot Thanos
  • Real-time analyticsnot Thanos
  • Reportingnot Thanos
  • Machine learningnot Thanos

Thanos

  • Querying metrics across many clusters or regions from one placenot ClickHouse
  • Retaining metrics for years without local disk growthnot ClickHouse
  • Removing the gap that appears when a single Prometheus instance restartsnot ClickHouse

Where do ClickHouse and Thanos fall short?

ClickHouse's most cited limit: limited multi-row atomic transactions and expensive UPDATE/DELETE operations unsuitable for transactional systems. Thanos's: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

ClickHouse

  • Limited multi-row atomic transactions and expensive UPDATE/DELETE operations unsuitable for transactional systems
  • Requires upfront schema design discipline with MergeTree engine choices and sort/partition keys
  • Experimental vector search support, not production-ready for vector operations
  • Different query syntax from standard SQL requiring migration planning
  • Limited JOIN capabilities compared to traditional relational databases
  • Migration complexity with 2-4 weeks estimated for data type mapping and query translation

Thanos

  • Several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes
  • The compactor is a common source of operational trouble and must not run twice against the same bucket
  • Query latency over object storage is meaningfully higher than local Prometheus
  • Object storage costs and API request charges become real at high volume

How much do ClickHouse and Thanos cost?

ClickHouse is free to use; Thanos is free to use. Plan by plan below, from each vendor's own pricing page.

ClickHouse

Free
  • BasicOn request
  • ScaleOn request
  • EnterpriseOn request

Thanos

Free
  • ThanosFree
    • Full functionality
    • No usage limits
    • Community support

Which should you pick?

Choose ClickHouse if

  • You need column-oriented storage.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want real-time analytics.

Choose Thanos if

  • You need global query.
  • You want to start without paying.
  • You work on Self-hosted, Linux.
  • You also want object storage retention.

Questions people ask

Is ClickHouse or Thanos better?
It depends on the job. ClickHouse fits business intelligence; Thanos fits querying metrics across many clusters or regions from one place. ClickHouse starts at Free and Thanos at Free.
Which is cheaper, ClickHouse or Thanos?
ClickHouse starts at Free and Thanos at Free.
Does ClickHouse or Thanos run on more platforms?
ClickHouse runs on Linux, macOS, Windows. Thanos runs on Self-hosted, Linux.
Can I use ClickHouse for free?
Both have a free tier, so you can try either at no cost before committing.
What is ClickHouse best used for?
ClickHouse is most often used for business intelligence, data warehousing, real-time analytics, reporting. Of those, business intelligence and data warehousing are not what Thanos is typically brought in for.
What can ClickHouse do that Thanos cannot?
ClickHouse covers Column-oriented Storage, Real-time Analytics, SQL Support, Linear Scalability. Thanos covers Global query, Object storage retention, Deduplication, Downsampling.

Answered from the vendors’ own pages

ClickHouse: What is ClickHouse best used for?

ClickHouse is optimized for analytical workloads on large datasets. It excels at fast aggregations and queries, being 10-100x faster than PostgreSQL on large aggregations.

Source
Thanos: Is Thanos free?

Yes, open source and CNCF-incubating. Costs are the object storage it uses.

ClickHouse: Does ClickHouse support transactions?

ClickHouse has limited transaction support and expensive UPDATE/DELETE operations. It is not suitable for transactional workloads requiring strict ACID guarantees.

Source
Thanos: Does Thanos replace Prometheus?

No. It runs alongside existing Prometheus servers, adding global query, deduplication and long-term storage.

ClickHouse: How does ClickHouse compare to PostgreSQL?

ClickHouse is 10-100x faster for analytics but PostgreSQL is better for transactional workloads. Many teams use both: PostgreSQL for writes via MaterializedPostgreSQL replication to ClickHouse for analytics.

Source
Thanos: Thanos or VictoriaMetrics?

Thanos layers onto Prometheus using object storage and is the more established multi-cluster answer. VictoriaMetrics is a separate store aiming at lower resource use and fewer moving parts.

Share

Related pages

Other head to heads