문제는 메모리 레이턴시야 — 일을 더 시켜서 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으로 명령어는 더 많이 쓰면서...

DuckDB는 왜 빠른가 (1부): 인프로세스 실행부터 컬럼 저장까지 — Greybeam 내부 구조 딥다이브

articles database olap query-engine columnar performance
Greybeam의 Kyle Cheung이 쓴 'DuckDB Internals: Why is DuckDB Fast? (Part 1)'를 정리한다. 인프로세스 실행, SQL→논리/물리 플랜 컴파일, 33개 옵티마이저, 파이프라인 기반 병렬 실행, 그리고 row group·zone map 중심의 컬럼 저장 계층까지 — DuckDB가 단일 노드에서 빠른 이유...