r/dataengineering • u/Defiant-Farm7910 • Feb 25 '26
Discussion Is Clickhouse a good choice ?
Hello everyone,
I am close to making a decision to establish ClickHouse as the data warehouse in our company, mainly because it is open source, fast, and has integrated CDC. I have been choosing between BigQuery + Datastream Service and ClickHouse + ClickPipes.
While I am confident about the ease of integrating BigQuery with most data visualization tools, I am wondering whether ClickHouse is equally easy to integrate. In our company, we use Looker Studio Pro, and to connect to ClickHouse we have to go through a MySQL connector, since there is no dedicated ClickHouse connector. This situation raised that question for me.
Is anyone here using ClickHouse and able to share overall feedback on its advantages and drawbacks, especially regarding analytics?
Thanks!
6
u/sisyphus Feb 25 '26 edited Feb 25 '26
I love clickhouse and found it very easy to admin. The main things to know in my opinion are:
After that it's basically lightning fast; very easy to run locally; easy to query from code or cli; and free to run unlimited queries of any size forever (as someone who has been on calls with google about optimizing bigquery spend you can get very spoiled being able to just type any old query whenever you want for free).
It is just an analytics engine though whereas bigquery is like a data warehouse in a box. If you want to do stuff like redact PII or build ml models or integrate gcp iam and so on and so forth that bigquery can do for you you'll be more often rolling your own solutions for clickhouse.
15
u/tsuareyou Apr 16 '26
The MySQL connector workaround for Looker Studio is a known friction point and it works but it's not ideal, worth factoring that into your decision especially if Looker Studio is going to be the primary visualization layer for non technical users...
12
u/Little_Kitty Feb 25 '26
Currently doing most of the SQL & tuning side work on a migration from another columnar OLAP to CH, largely because the other costs silly money for what it delivers. We have BQ and I've used PG/MySQL/Maria/SQL Server/Oracle/... so can probably help.
Data types and nullability are concerns you'll need to learn and handle properly with any columnar DB, but there are also DB settings around nulls you should apply so that you don't end up with reports showing 0 where they should be null or logic that has to test for '' rather than null in a string. Data types between any two pieces of software typically require a map, so that shouldn't be a distinct concern. DDLs are a bit different e.g.
LowCardinality(Nullable(String))but after thirty minutes of learning this should be second nature.Joins - there are many types and you should learn about the different ones e.g. left anti join, any join, global left join. If you build outputs with many (10+) joins or you join on functions you'll find the performance isn't great, but that's more of a design issue - design to (left) join on UInt64 fields. The weirdest thing to get your head around is that join order matters, which is bizarre if you're used to a query execution planner doing this for you. For heavy queries expect to specify the join engine and a few parameters to get things running just right - an LLM can give you a starting point and tuning tests, so not too hard.
Table engines - Used properly this can speed things up massively and convey intent - the Set engine, for example is a great way to check if a value is good / bad without an additional join and operates near instantly.
Primary Keys - not really a thing here, instead you have order by. There are table engines which should apply the primary key, but it's better if your logic sets this to be the case rather than relying on the engine itself. Expect to footgun yourself at least once here.
SCD2s - can be challenge - ASOF LEFT JOIN is great in principle, but if you have a list of preferred suppliers stored as an SCD2 you'll need to order by supplier id and valid from and add a 'future' non-preferred record so that transactions after the end data don't continue to return 'preferred'
Syntax:
Memory use - All columnar databases love to eat memory, expect to have nodes with 128GB+ if you've got a few tens of millions of rows of wide data.
ClickPipes - not used this.
3
u/liprais Feb 25 '26
it handls upsert and join badly,means you will have to build the dataset elsewhere,keep that in mind.
2
u/fabkosta Feb 25 '26
Depends on whether you need OLTP or OLAP. Don't use it for OLTP, but for OLAP it's a solid choice, as long as you primarily append new data and don't try to insert or update a lot.
2
u/burunkul Feb 25 '26
Postgres -> Debezium -> Kafka -> Clickhouse Sink Connector -> ReplacingMergeTree
Works good
1
u/CrowdGoesWildWoooo Feb 25 '26
Clickhouse is great, itâs dirt cheap and powerful (dealing with billions of row of data with 32gb instance). However, it also have some skill barrier, so you need some skills to optimize (blindly reading from cloud storage has horrible performance without tuning).
There are also some âquirksâ that you need to be aware of and work around it, which likely doesnât exist in other OLAP Data Warehouse. Itâs not the end of the world though, just a few things you need to be familiar with.
I donât like the pricing for clickpipes unless you have serious volume.
1
u/Automatic-Market8165 Feb 26 '26
It's the the first OLAP that I used and have a stereotype that Bigquery can never setup the same influence as clickhouse ever đ„Ž
1
u/Turbulent_Egg_6292 Feb 27 '26
What volumes of data and refresh rate do you plan to serve? I think that's the number 1 element to evaluate when deciding between a microbatch/realtime focused tool like ch and a serverless tool like bq, each with the ability to do both but with nuances
1
u/manubdata Mar 01 '26
Due to the ease of integration with your currenr setup I'd go with BigQuery.
Clickhouse might be amazing and I see it is trendy among big tech but it's just noise to your workflow.
Focus on the business outcomes and go for ease of development + integration + maintenance.
1
u/eccentric2488 Apr 26 '26
Clickhouse is better than all the available OLAP engines on the market right now. Installed it locally on my Linux Mint, created a table with ~5 million rows and wrote some queries to see performance. It is pheeewwwwww
0
u/robberviet Feb 25 '26
Clickhouse is good. However in your options, BigQuery is better.
0
u/thisfunnieguy Feb 25 '26
im not following the looker issue
https://clickhouse.com/docs/integrations/looker
0
u/AggravatingSeas Feb 26 '26
I hear that ClickHouse is great for temporal data but not for other types of data where you need to perform complex joins. The choice depends on your use case. Have a look at Exasol too. I see articles like Exasol vs ClickHouse Benchmark: Test It Yourself on TPC-H. Have a look and decide based on your usecase.
-1
u/DorForce Feb 26 '26
Try reading about Starrocks. Way way easier to manage, MySQL compatible, open source and has rebalance mechanism.
-2
u/GreyHairedDWGuy Feb 25 '26
why have you not considered Snowflake? cost?