ProductsSelected

Weaviate ships query profiling for per-shard latency breakdowns

Why we picked it

The profiling output changes where you look first: object hydration from disk, not HNSW traversal, was the real cost in the example, so adding compute would have missed the fix entirely. Teams running Weaviate in production — including RAG pipelines with filters or compression rescoring — can enable query_profile to get per-shard timings instead of correlating logs across nodes.

Weaviate has made query profiling generally available.Developers set the query_profile flag in request metadata and receive a latency breakdown alongside the search response, organized by shard and node.

Body

The coordinating node collects timings from every shard, so distributed queries no longer require manually piecing together logs.

In a documented example, a 48.2ms shard split into 8.

4ms vector search, 2.1ms filter resolution and 36.

8ms object hydration, showing HNSW traversal was not the bottleneck.

Original · Weaviate

A slow query is easy to spot. Explaining 𝘸𝘩𝘺 it's slow is the hard part. The latency could come from HNSW traversal, resolving a filter, BM25 scoring, compression rescoring, or fetching objects from disk. Each points to a completely different fix. 𝗤𝘂𝗲𝗿𝘆 𝗽𝗿𝗼𝗳𝗶𝗹𝗶𝗻𝗴 𝗶𝗻 𝗪𝗲𝗮𝘃𝗶𝗮𝘁𝗲 makes that breakdown available for each specific search. Set 𝗾𝘂𝗲𝗿𝘆_𝗽𝗿𝗼𝗳𝗶𝗹𝗲 in the request metadata and the profile is returned alongside the response, organized by shard and node. The coordinating node collects timings from every shard involved, so distributed queries no longer require manually piecing together logs from multiple nodes. Consider a shard that takes 48.2ms: • Vector search: 8.4ms • Filter resolution: 2.1ms • Object hydration: 36.8ms HNSW isn't the bottleneck here. Object hydration is. Blindly increasing compute would miss the problem entirely. Page-cache misses, storage latency, a large result limit, or oversized objects are the more useful places to investigate. 𝗤𝘂𝗲𝗿𝘆 𝗽𝗿𝗼𝗳𝗶𝗹𝗶𝗻𝗴 is generally available weaviate.io/blog/query-pro… rn more about it in our blog: https://t.co/KczBA52Onp📊 2 ⚡

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on Europe's AI governance and technology ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Weaviate, vector databases, RAG.

Source attribution: curated from Weaviate (@weaviate_io).