ClickHouse Release 24.8 LTS

The ClickHouse Team
16 min readbeginner
--
View Original

Overview

ClickHouse Release 24.8 LTS introduces 19 new features, 18 performance optimizations, and 65 bug fixes, emphasizing community contributions and long-term support. Key enhancements include a revamped JSON data type, a new TimeSeries table engine, and improvements in join operations and Kafka message processing.

What You'll Learn

1

How to utilize the new JSON data type in ClickHouse for semi-structured data

2

How to implement the TimeSeries table engine for Prometheus data storage

3

How to manage projections during merges in ClickHouse

4

How to enable exactly-once processing of Kafka messages in ClickHouse

Key Questions Answered

What are the new features introduced in ClickHouse Release 24.8?
ClickHouse Release 24.8 introduces 19 new features, including a revamped JSON data type, a TimeSeries table engine, and enhancements in join operations. It also includes 18 performance optimizations and 65 bug fixes, making it a significant update for users.
How does the new JSON data type work in ClickHouse?
The new JSON data type in ClickHouse allows for storing semi-structured data where each row can have a different structure. It requires enabling an experimental setting and supports various operations for querying and managing JSON data effectively.
What improvements were made to join operations in ClickHouse 24.8?
ClickHouse 24.8 enhances join operations by introducing more variants of join strictness with inequality conditions. This allows for greater flexibility in how joins are executed, improving performance and usability in complex queries.
What is the purpose of the TimeSeries table engine in ClickHouse?
The TimeSeries table engine in ClickHouse allows users to store time-series data and integrates with Prometheus using the remote-write and remote-read protocols. This enables efficient handling of time-series metrics and data collection.

Key Statistics & Figures

New features in ClickHouse Release 24.8
19
This includes enhancements and new capabilities introduced in this release.
Performance optimizations in ClickHouse Release 24.8
18
These optimizations aim to improve the overall efficiency of the database.
Bug fixes in ClickHouse Release 24.8
65
This number reflects the commitment to improving software stability and reliability.

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Key Actionable Insights

1
Utilize the new JSON data type to handle semi-structured data effectively in your applications.
This allows for greater flexibility in data storage and retrieval, especially when dealing with diverse data structures that do not fit neatly into traditional relational models.
2
Implement the TimeSeries table engine to leverage ClickHouse for Prometheus metrics storage.
This integration can enhance your monitoring capabilities by allowing efficient querying and storage of time-series data, making it easier to analyze performance metrics over time.
3
Take advantage of the new projection management features to maintain data consistency during merges.
Understanding how to manage projections can help prevent data inconsistency issues and improve query performance in scenarios where data is frequently updated or deleted.

Common Pitfalls

1
Failing to enable the experimental JSON data type can lead to errors when trying to store JSON data.
Ensure that the required settings are enabled in ClickHouse to utilize the new JSON features effectively.
2
Not managing projections properly can result in out-of-sync data during merges.
Understanding the new settings for projection management is crucial to maintain data integrity and performance.

Related Concepts

JSON Data Handling
Time-series Data Management
Database Projections
Kafka Message Processing