Welcome to the December ClickHouse newsletter, our last one for 2024! This month we’ve got a guide to query optimization, a real-world example of SQL-based observability, product announcements around Amazon’s re-Invent conference, the Postgres CDC connector for ClickPipes moving into Private Preview, and more.
Inside this issue
- Upcoming events
- Featured community member
- 24.11 Release
- A simple guide to ClickHouse query optimization: part 1
- Building SQL-based Observability With ClickHouse and Grafana
- Postgres CDC connector for ClickPipes is now in Private Preview
- ClickHouse Decoded: Making Sense of Fast Data
- ClickHouse at AWS re:Invent 2024
- Video corner
- Quick reads
- ClickHouse User Conference
- Post of the month
Upcoming events
Global events
- Release call 24.12 - Dec 19
- Release call 25.1 - Jan 30
Free training
- ClickHouse Fundamentals - Virtual - Jan 8 and Jan 15
- ClickHouse Query Optimization Workshop - Virtual - Jan 22
- Using ClickHouse for Observability - Virtual - Jan 29
Events in EMEA
- Meetup in London - Feb 5
- Meetup in Dubai - Feb 10
Events in APAC
- Alibaba Developer Summit Jakarta - Jan 21
- Meetup in Tokyo - Jan 23
Featured community member
This month's featured community member is Azat Khuzhin, Lead Engineer at Semrush.
Azat has been working at Semrush for over 13 years. His expertise lies in working with ClickHouse and other database management systems, handling large-scale distributed systems, and data processing.
He regularly contributes to ClickHouse, submitting over 60 pull requests this year, focused on performance optimization, system stability, and feature enhancements across various components. His work spans from improving distributed query processing and replication to enhancing security, configuration management, and user experience.
24.11 release
The standout feature in the 24.11 release was parallel hash join becoming the default join strategy. Other features include the ability to pre-warm the marks cache, the BFloat16 data type for vector search, and the STALENESS modifier for WITH FILL.
In the 24.11 community call, we also had a fun demo of HyperDX, an open-source observability platform that uses ClickHouse.
A simple guide to ClickHouse query optimization: part 1
Lionel Palacin recently joined the ClickHouse Product Marketing Engineering team and, while working on the new ClickHouse Playground, became curious about how to improve the performance of sample queries used in the playground.
In the first of a two-part blog series, he shares some things he’s learned. In the blog post, Lio explains what happens when a query runs, how to identify slow queries, and how to understand what happens during query execution using the EXPLAIN clause. He then shows how to apply various optimizations and see if they work.
Building SQL-based Observability With ClickHouse and Grafana
Timofey Chuchkanov, DevOps Engineer at EVALAR JSC has written a blog post detailing his experience building an observability stack based on ClickHouse and Grafana.
After reviewing the criteria for the ideal stack, which included querying using SQL, the ability to query logs and metrics, and integrations with other software, Timofey went through the candidate stacks. These included Elasticserach, Loki, Timescale, and more, but they settled on ClickHouse.
I enjoyed reading this one, and seeing more examples in the wild of SQL-based observability is cool.
Postgres CDC connector for ClickPipes is now in Private Preview
We recently announced the private preview of the Postgres Change Data Capture (CDC) connector in ClickPipes.
This enables customers to replicate their Postgres databases to ClickHouse Cloud in just a few clicks and leverage ClickHouse for blazing-fast analytics. You can use this connector for continuous replication and one-time migrations use cases from Postgres.
ClickHouse Decoded: Making Sense of Fast Data
Shubham Bhardwaj takes a detailed look into the way that ClickHouse works. He starts by exploring the way data is laid out on disk and describes each component. Next, we move onto materialized views, table engines, and, finally, how to scale ClickHouse.
ClickHouse at AWS re:Invent 2024
A bunch of colleagues spent the first week of December at the AWS re-Invent conference in Las Vegas, and we had some product announcements simultaneously.
Some highlights: Bring Your Own Cloud, Dashboards, and Native JSON support are all in Beta, the Postgres CDC connector in ClickPipes is in private preview, and vector similarity indexes are in early access.
Video corner
- ClickHouse has no PIVOT operator, but you can still achieve similar functionality using aggregate function combinators. Mark shows us how in his latest video, ‘Can you PIVOT in ClickHouse?!
- Tony Burke works in the platform engineering team at SolarWinds, where they ingest three million messages per second into ClickHouse. Tony explains how his team enhanced ClickHouse performance, shedding light on real-time telemetry data management and query optimization.
- Refreshable materialized views were recently made production-ready, so Mark did another video introducing them and showing some use cases.
Quick reads
- Niels Reijers wanted to do a Python itertools-style GROUP BY in ClickHouse SQL, and with help from the Brave Browser’s AI and some of his own refactoring, he got there!
- Zander Matheson discusses the latest connector module available for Bytewax, the ClickHouse Sink. This sink enables users to seamlessly write data from Bytewax into ClickHouse.
- Wolfram Kriesing explains how to call ClickHouse’s aggregation functions from Django.
- Matt Blewitt shares his 7 Databases to look at in 2025, and includes this great quote: “If I had to only pick two databases to deal with, I’d be quite happy with just Postgres and ClickHouse - the former for OLTP, the latter for OLAP.”
ClickHouse User Conference
Are you planning the conferences you'll attend in 2025? We suggest Open House—The ClickHouse User Conference, which will be held on May 28th and 29th in San Francisco.
We'll have a day of free training on the 28th, followed by talks on the 29th. Tickets aren’t available yet but register below to be updated on all information.
Post of the month
Our favorite post this month was by Gulzar Ahmed, who’s using ClickHouse to help build Hyperzod, online delivery software for local businesses in India: