~/talk

Unusual Performance Optimization Cases: the ClickHouse Example

TalkinRussianat CodeFest 11 · 2021-05-29..05-30· [databases]
links:none on file
slides:none on file

The talk examines practical performance optimization cases encountered by ClickHouse developers, focusing on trade-offs like when decompression can be faster than copying, the fastest ways to transpose Structure of Arrays to Array of Structures, and optimal file-reading methods (read vs O_DIRECT vs mmap vs io_uring). It also explains why ClickHouse MergeTree tables can outperform in-memory tables and describes empirical investigations and optimizations used in ClickHouse.

AI-written summary · about

  1. 0:00ClickHouse introduction
  2. 1:10Performance basics
  3. 3:17Memory vs MergeTree
  4. 8:16Columnar processing
  5. 12:53Reading compressed data
  6. 16:25Compression algorithms
  7. 23:13RAM and cache speeds
  8. 24:17Compression trade-offs
  9. 30:11Multi-core impact
  10. 33:49Benchmark results
  11. 36:43Key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.