From 1bb4faffb73cf0f2f4c27ad7f5e226c9ef1748bb Mon Sep 17 00:00:00 2001 From: Mark Needham Date: Fri, 7 Mar 2025 19:25:51 +0800 Subject: [PATCH] Update why-clickhouse-is-so-fast.md --- docs/concepts/why-clickhouse-is-so-fast.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/concepts/why-clickhouse-is-so-fast.md b/docs/concepts/why-clickhouse-is-so-fast.md index 5999483c69d..477d127ebaf 100644 --- a/docs/concepts/why-clickhouse-is-so-fast.md +++ b/docs/concepts/why-clickhouse-is-so-fast.md @@ -85,6 +85,8 @@ Data compression not only reduces the storage size of the database tables, but i ## State-of-the-art query processing layer {#state-of-the-art-query-processing-layer} + + Finally, ClickHouse uses a vectorized query processing layer that parallelizes query execution as much as possible to utilize all resources for maximum speed and efficiency. "Vectorization" means that query plan operators pass intermediate result rows in batches instead of single rows. This leads to better utilization of CPU caches and allows operators to apply SIMD instructions to process multiple values at once. In fact, many operators come in multiple versions \- one per SIMD instruction set generation. ClickHouse will automatically select the most recent and fastest version based on the capabilities of the hardware it runs on. @@ -97,6 +99,8 @@ If a single node becomes too small to hold the table data, further nodes can be ## Meticulous attention to detail {#meticulous-attention-to-detail} + + > **"ClickHouse is a freak system - you guys have 20 versions of a hash table. You guys have all these amazing things where most systems will have one hash table** **…** **ClickHouse has this amazing performance because it has all these specialized components"** [Andy Pavlo, Database Professor at CMU](https://www.youtube.com/watch?v=Vy2t_wZx4Is&t=3579s) What sets ClickHouse [apart](https://www.youtube.com/watch?v=CAS2otEoerM) is its meticulous attention to low-level optimization. Building a database that simply works is one thing, but engineering it to deliver speed across diverse query types, data structures, distributions, and index configurations is where the "[freak system](https://youtu.be/Vy2t_wZx4Is?si=K7MyzsBBxgmGcuGU&t=3579)" artistry shines.