DigiNews

Tech Watch by Johan Denoyer

← Back to articles

It's the memory latency, stupid

Quality: 8/10 Relevance: 9/10

Summary

Maor Kern argues memory latency is the primary bottleneck in GROUP BY queries and demonstrates how cache-aware CPU work can accelerate aggregations. The post walks through benchmarks with perf counters, explains a two-phase radix partitioning approach to improve cache locality, and shows substantial single-core speedups with further gains when parallelized.

🚀 Service construit par Johan Denoyer