Weaviate ships query profiling: a 48ms slow query turned out to be disk reads, not HNSW
CShorten30 · x · 2026-10-06
Weaviate released a Query Profiling feature that breaks down exactly where a slow query spends its time. The old slow query log (two env vars + node restart) works for catching fleet-wide regressions, but poorly for debugging a specific slow query right now: restarting changes what you measure due to cold page caches.
The new approach: set queryprofile in request metadata and the profile returns alongside the response, organized by shard and node. The coordinating node collects timings from every shard, so distributed queries no longer require piecing together logs from multiple nodes.
Example from the post: a 48.2ms query spent only 8.4ms on vector search and 2.1ms on filter resolution, while object hydration from disk took 36.8ms — HNSW wasn't the bottleneck, so adding compute would have missed the problem entirely. Latency can come from HNSW traversal, filter resolution, BM25 scoring, compression rescoring, or disk fetches, each pointing to a completely different fix.
More from Infra
- 79% of AI GPUs Sit Idle as Firms Hoard Billions in Dark Compute — Glittering_Depth_722 · 2026-11-29
- Betelgeuse v0.8 hits 50.3 tok/s on RTX 3060 with a CPU expert-prefetch oracle, bit-exact — zyxciss · 2026-11-29
- GGUF-Radar gets a Windows UI: single-exe scanner for malware in GGUF models — Electronic-Metal2391 · 2026-11-29
- Baseten's 'Inference Engineering' book back in print, free copies at re:Invent — philipkiely · 2026-11-29
- Debate: inference demand makes H100s more valuable while NVDA stock heads south — teortaxesTex · 2026-11-29
- Prefetching MoE experts 2 layers ahead boosts V100 decode speed 29.9% — WaroftanksPro · 2026-11-29