Home / Companies / ClickHouse / Blog / September 2023

September 2023 Summaries

14 posts from ClickHouse

Filter
Month: Year:
Post Summaries Back to Blog
This summary highlights the development of chDB, an open-source ClickHouse engine available as a Python module, allowing users to access large amounts of data without relying on slow Hive clusters. The project's main goal is to make ClickHouse more accessible and performant for various use cases, including serverless databases and stateless applications. With its initial release, chDB has gained traction, with contributions from the community and collaborations with the ClickHouse team, aiming to further optimize performance and reduce the installation package size. The project's success relies on the support of the ClickHouse CTO and Head of Product, who have encouraged the development of chDB.
Sep 29, 2023 1,911 words in the original blog post.
ClickHouse Keeper is a fast, resource-efficient, and feature-rich alternative to ZooKeeper that provides a reliable metadata store and coordination mechanisms for real-time applications and analytics. It offers several benefits over ZooKeeper, including easier setup and operation, better compression, no limit on packet and node data size, faster recovery after network partitions, additional consistency guarantees, and more resource efficiency. ClickHouse Keeper was originally developed for use with ClickHouse when deployed as a distributed system in a self-managed setup or hosted offering like CloudHouse Cloud, but its broader community benefits are now being explored. The development of ClickHouse Keeper has been production-ready for over 1.5 years, and it has been deployed at scale in various environments, including ClickHouse Cloud. ClickHouse Keeper provides coordination systems for data replication, automatic insert deduplication, and consensus mechanisms for part names and assigning part merges to specific cluster nodes. It is used in various ClickHouse applications, such as task scheduling queues, Kafka Connect Sinks, and replicated database engines. The benchmarking results show that ClickHouse Keeper consistently uses significantly less memory than ZooKeeper for the same volume of data while maintaining performance close to ZooKeeper. Looking forward, ClickHouse Keeper plans to introduce a multi-group Raft protocol for better support of scenarios with high parallel read/write requirements.
Sep 27, 2023 3,672 words in the original blog post.
ClickHouse Inc. has announced the general availability of ClickPipes, a tool that connects external data sources directly into ClickHouse Cloud, allowing users to set up continuous data pipelines in just a few clicks. This launch follows a year of business momentum and platform expansion for ClickHouse Cloud, which offers a secure and scalable serverless offering in the cloud. With integrations for Confluent Cloud, Amazon MSK, and Apache Kafka, ClickPipes provides a user-friendly continuous ingestion experience that enables users to focus on extracting insights from their data. The tool's features include easy pipeline creation, fully-managed ingestion, and a scalable infrastructure that can handle increasing data volumes at "ClickHouse speed".
Sep 26, 2023 447 words in the original blog post.
ClickHouse Cloud has announced the general availability of ClickPipes, its continuous data ingestion service, which provides streamlined access to fresh and clean data for real-time analytics applications. This feature represents a significant milestone for ClickHouse Cloud, enabling organizations to easily ingest data and focus on extracting valuable insights thanks to ClickHouse's unparalleled performance. With the addition of features such as support for Confluent Cloud's schema registry, Amazon MSK, and improved UI/UX, ClickPipes provides an easy and intuitive way to set up new ingestion pipelines, manage continuous ingestion pipelines, and unlock real-time analytics use-cases.
Sep 26, 2023 308 words in the original blog post.
ClickHouse is designed to be fast and resource-efficient, allowing it to utilize its hardware up to theoretical limits or reduce resource usage for large data loads. The basic mechanics of data insertion into ClickHouse involve forming in-memory blocks from received data, compressing and writing them to storage as new parts. Three main factors influence performance and resource usage: insert block size, which impacts disk and memory usage; insert parallelism, which affects ingest throughput and memory usage; and hardware size, including CPU cores and RAM, which impact supported part sizes, insert parallelism levels, and background merge throughput. By understanding how to configure these factors, users can optimize ClickHouse for fast and resilient large data loads, with the ability to adjust settings such as block size, parallelism, and hardware size depending on the ingestion scenario.
Sep 19, 2023 2,244 words in the original blog post.
ClickHouse is a popular open-source column-store database that has been adopted by Cloudflare, one of its earliest adopters. Cloudflare uses ClickHouse for various use cases, including HTTP and DNS analytics, logging analytics, traffic management, cloud worker runtime analysis, internal analytics workload, customer dashboards, firewall analytics, and radar. The company's massive scale of operations has led to the deployment of over 1,000 active replicas, processing hundreds of millions of rows every second. Cloudflare has leveraged ClickHouse's powerful sampling features for their diverse datasets and has overcome challenges such as memory consumption by shifting from the 'hashed' layout to the 'hashed array' layout. The company has also developed solutions to address these issues, including the 'ClickHouse Dictionary Dumper', which separates data production from consumption. Cloudflare continues to evolve its use of ClickHouse, with potential enhancements including in-memory compression and dynamic dictionaries.
Sep 19, 2023 717 words in the original blog post.
The latest release of ClickHouse, version 23.8, brings a significant number of exciting features and improvements to the popular open-source database management system. The new release includes 29 new features, 19 performance optimizations, and 63 bug fixes, making it an excellent update for users looking to enhance their data analysis capabilities. One of the most notable features is the improved support for streaming consumption from S3, which simplifies incremental loads from Amazon's object storage service. This feature allows users to set up simple incremental pipelines with no additional code, making it easier to manage large datasets. Additionally, ClickHouse now supports archives, including zip and tar files, which can contain multiple files. The release also includes a new `S3Queue` table engine, which enables the streaming consumption of data from S3. Furthermore, the release introduces a new virtual column `_file`, which allows users to query all files in an archive using a single query. Overall, the latest release of ClickHouse is an excellent update for users looking to improve their data analysis capabilities and streamline their workflows.
Sep 15, 2023 2,207 words in the original blog post.
ClickHouse can easily be integrated with third-party APIs using ClickHouse User Defined Functions (UDFs), providing a "plug and play" solution for tasks such as sentiment analysis and extracting structure from data. This approach allows users to leverage AI models directly in their SQL workloads without the need to train domain-specific models, making it suitable for smaller teams or use cases. The integration is demonstrated using OpenAI's API, which provides a REST interface for accessing its models, including chat completion and embedding generation services. By utilizing UDFs, users can automate tasks such as sentiment analysis and structure extraction, improving data enrichment and reducing the need for manual processing. The approach also enables batch processing of large datasets, making it an efficient solution for handling big data analytics. However, rate limiting and latency issues with the OpenAI API may impact query performance, highlighting the importance of optimizing UDF configurations and considering alternative approaches such as assigning sentiment columns at data insertion time or using more robust rate limiting mechanisms.
Sep 14, 2023 3,489 words in the original blog post.
Here is a 1-paragraph summary of the text: The Kafka Connector for ClickHouse Cloud can introduce latency in data transfer, which needs to be mitigated and monitored. Latency is measured as the time it takes for data to travel from one point to another, influenced by hardware, software, and network factors. To address this, producers can append timestamp values to messages at various points of the Kafka pipeline, and visualizing latency using ClickHouse SQL Console or other tools can help identify issues. Strategies to minimize latency include adjusting fetch and batch sizes in Kafka Connect, optimizing number of partitions and tasks, handling "chatty" vs "batchy" network behavior, and tuning instance sleeping and sizing for ClickHouse Cloud. By understanding the causes of latency and applying these approaches, users can ensure a more stable and efficient data transfer between Kafka and ClickHouse architectures.
Sep 13, 2023 1,756 words in the original blog post.
This blog post provides a comprehensive comparison of Snowflake and ClickHouse Cloud for real-time analytics, demonstrating that for a realistic application, ClickHouse Cloud outperforms Snowflake in terms of both cost and performance.
Sep 06, 2023 8,744 words in the original blog post.
In a benchmark analysis comparing ClickHouse Cloud and Snowflake for real-time analytics, ClickHouse Cloud outperforms Snowflake in both query latency and cost. ClickHouse Cloud is designed to provide blazing speed, with query response times significantly faster than Snowflake's Standard tier. This results in higher costs for Snowflake when compared to ClickHouse Cloud, with the fastest queries being 15x more expensive. ClickHouse Cloud querying speeds are over 2x faster than Snowflake, and it offers better data compression, resulting in a 38% improvement. Real-time analytics is becoming increasingly important for businesses, requiring databases that can handle low-latency data ingestion, processing, and querying capabilities. ClickHouse was designed to solve these challenges, with features such as automatic scaling, domain-specific functions, federated queries, and built-in query performance. Snowflake, on the other hand, is optimized for long-running reports and ad-hoc data exploration, but its pricing tiers can be a barrier for mission-critical use cases. As the data and warehouse landscapes continue to evolve, there may be a growing overlap between workloads that could be run in either system, making it essential to choose the right tool for the job.
Sep 06, 2023 674 words in the original blog post.
This blog series contrasts Snowflake and ClickHouse for the real-time analytics use case, exploring similarities and differences between the systems. While both platforms share some architectural similarities, they differ in their storage formats, query engines, and scalability models. The study highlights ClickHouse features beneficial to this use case, including its low cost, high performance, and ability to store intermediate state of aggregate functions, which provide significant advantages over Snowflake for real-time analytics applications.
Sep 06, 2023 4,778 words in the original blog post.
ClickHouse and Snowflake are two data warehousing platforms that offer real-time analytics capabilities. A comparison series between the two platforms highlights their similarities and differences, including their architectures, features, and performance characteristics. ClickHouse Cloud offers better performance and cost efficiency than Snowflake for real-time analytics workloads, with faster query execution times and lower costs. The article also explores the data types supported by both platforms, including their strengths and weaknesses, and provides guidance on how to choose the right type for a specific use case. Additionally, the article discusses the process of migrating from Snowflake to ClickHouse, including data import and export options, and highlights the benefits of using ClickHouse Cloud for real-time analytics.
Sep 06, 2023 646 words in the original blog post.
SUMMARY: ClickHouse Cloud と Snowflake のコストとパフォーマンスをリアルタイム分析の観点から包括的に比較した結果が提示されています。 ClickHouse Cloud が Snowflake より 3〜5 倍のコスト効率を示し、クエリ速度は 2 倍以上高速です。また、データ圧縮率も約 38% 優れています。これらの結果から、ClickHouse Cloud はリアルタイム分析の要件を満たしながらコストも抑えられる強力な選択肢となると言えるでしょう。
Sep 06, 2023 2,386 words in the original blog post.