문제는 메모리 레이턴시야 — 일을 더 시켜서 GROUP BY를 빠르게 만드는 radix partitioning

articles performance memory cpu-cache memory-latency hash-aggregation query-engine database rust
Pivot 블로그(Epsio Labs)에 Maor Kern이 쓴 'It's the memory latency, stupid'를 정리한다. CPU 100%가 실제로는 절반가량 메모리를 기다리며 멈춘 상태일 수 있다는 점을 perf 카운터로 보여 주고, 해시 집계를 4096개 파티션으로 쪼개는 radix partitioning으로 명령어는 더 많이 쓰면서...