C

ClickHouse

Open-source columnar database for real-time analytics on event data

Analytics & Data Open source, free to self-host · Cloud: $300 trial credit, usage-based Updated 22 Oct 2026 🇮🇳 Verified Review for Indian Startups
✅ Recommended for real-time analytics

Quick Verdict

ClickHouse is what you reach for when a dashboard must answer in under a second over billions of events: it is the engine under PostHog, Cloudflare analytics and many ad-tech stacks. Self-hosting is free and a single machine goes a long way. ClickHouse Cloud removes the operations work and bills per compute unit and per TB stored, with an AWS Mumbai region. It is not a general-purpose database; updates and deletes are awkward by design.

Are we wrong about your product? Tell us.

What is ClickHouse?

ClickHouse is an open-source column-oriented database built for analytical queries: counts, aggregates and funnels over very large tables, returned fast. Data is stored by column and compressed, so a query touching three columns of a hundred-column events table reads only those three. It is licensed Apache 2.0 and the code is on GitHub.

You can run it yourself (one Docker container is enough to start) or use ClickHouse Cloud, the company's managed service on AWS, GCP and Azure. The Cloud has Basic, Scale and Enterprise tiers; the public rate card shows Enterprise compute and storage prices per region, including AWS ap-south-1 (Mumbai).

Quick facts: Apache 2.0 licence · Columnar, SQL · Self-host or ClickHouse Cloud · AWS Mumbai region in Cloud · Used underneath PostHog and Cloudflare analytics.

Key Features of ClickHouse

Sub-second aggregates

Columnar storage, vectorised execution and aggressive compression make GROUP BY over billions of rows routine on modest hardware.

MergeTree table engines

Partition by month, order by the columns you filter on, and set a TTL so old events expire without a cleanup job.

Materialised views

Pre-aggregate on insert (daily active users, per-feature counts) so dashboards read tiny tables instead of raw events.

Kafka and S3 integrations

Ingest straight from Kafka topics and query Parquet files in S3 or Spaces without loading them first.

SQL with analytics functions

Window functions, approximate uniques, funnel and retention functions (windowFunnel, retention) built in.

ClickHouse Cloud

Managed, auto-scaling, with separate compute and object storage; the $300 trial credit lasts 30 days with no card.

Pricing and Indian Market Context

Self-hosting costs only your servers. ClickHouse Cloud is usage-based with no monthly minimum; the public rate card lists Enterprise-tier rates per region. Basic and Scale rates are shown in the calculator, not on the page.

Plan Price What you get
Self-hosted (open source) $0 Apache 2.0; you run and back it up yourself
Cloud trial $300 credit for 30 days No credit card; trial ends at 30 days or when credits are used
Cloud compute, Enterprise (AWS Mumbai, ap-south-1) $0.42138 per compute-unit-hour 1 unit = 8 GiB RAM, 2 vCPU; US regions from $0.39030 (AWS) and $0.32727 (GCP)
Cloud storage, Enterprise (AWS Mumbai) $27.50 per TB per month Compressed size; US regions from $22.00 (GCP) and $25.30 (AWS)

Source: clickhouse.com/pricing, checked 22 Oct 2026. Prices in US dollars; the Mumbai rate is the ap-south-1 row on the rate card. GST applies if you are invoiced in India.

For teams in India: A small production Cloud service that runs one compute unit around the clock in Mumbai is roughly $307 a month before storage and GST. Most seed-stage teams self-host one 16 GB machine on DigitalOcean or AWS Mumbai for a tenth of that and move to Cloud when on-call becomes the cost.

Who Should Use ClickHouse?

  • Product teams building their own analytics — Event tables with funnel and retention functions, queried by dashboards that must feel instant.
  • Ad-tech, fintech and logistics with high event volume — Hundreds of millions of rows a day are normal; compression keeps storage cheap.
  • Teams that want to own the data — Self-host in India on your own cloud account with no per-event vendor pricing.
  • Not ideal for: Transactional workloads — Row-level updates, deletes and foreign keys are not what it is for; keep Postgres for the application.
  • Not ideal for: Teams without anyone to run a database — Self-hosted ClickHouse needs backups, upgrades and disk watching; use the Cloud or BigQuery instead.

First 5 Things to Set Up in ClickHouse

In the order a small team would do them.

  1. 1

    Run it in Docker or start a Cloud trial

    docker run clickhouse/clickhouse-server gets a local instance; the Cloud trial gives $300 of credit for 30 days without a card.

  2. 2

    Design the events table before loading anything

    MergeTree engine, PARTITION BY toYYYYMM(event_date), ORDER BY (user_id, event_time). The ORDER BY is your index; get it right first.

  3. 3

    Set a TTL on raw events

    TTL event_date + INTERVAL 13 MONTH keeps storage flat and makes the retention decision explicit.

  4. 4

    Add one materialised view per dashboard

    Daily active users and per-feature counts as aggregating views, so Metabase or Grafana never scans raw rows.

  5. 5

    Back up to object storage

    Use BACKUP TO S3 (works with DigitalOcean Spaces) on a nightly cron; test a restore once before you rely on it.

Pros and Cons

Pros

  • Free and open source under Apache 2.0
  • Fastest option on this list for aggregate queries over events
  • Runs well on one machine; scales out when needed
  • Cloud tier with an AWS Mumbai region and no monthly minimum
  • Built-in funnel, retention and approximate-unique functions

Cons

  • Updates and deletes are asynchronous mutations, not row edits
  • Schema and ORDER BY choices are hard to change after loading data
  • Self-hosting needs someone to own backups and upgrades
  • Cloud Basic and Scale prices are only in the calculator, not on the page

Frequently Asked Questions

Is ClickHouse free?
The database is open source under the Apache 2.0 licence and free to run yourself. ClickHouse Cloud is paid per compute-unit-hour and per TB stored, with a $300 trial credit (checked 22 Oct 2026).
Does ClickHouse Cloud have an India region?
Yes, AWS ap-south-1 (Mumbai) is on the public rate card at $0.42138 per compute-unit-hour and $27.50 per TB per month for the Enterprise tier.
ClickHouse or PostgreSQL for analytics?
Postgres is fine up to a few hundred million rows if you index well. Past that, or when dashboards need sub-second answers over raw events, ClickHouse is the usual move. Keep Postgres for the application and send events to ClickHouse.

Get Started with ClickHouse

Free to self-host; ClickHouse Cloud bills per compute unit with a Mumbai region.

Visit Website →

Find the perfect AI stack

Use Kriyā's interactive Stack Builder to compose your AI-coding, payment, or analytics tools based on your company stage.

Build Stack on Kriyā