Database / Qdrant Vector DB Interview questions
What is a segment in Qdrant?
A segment is a self-contained internal unit within a Qdrant collection, each owning its own vector storage, payload storage, HNSW index, and ID mapping — a collection is composed of one or more segments working together rather than being one single monolithic storage structure.
Splitting a collection into multiple segments allows Qdrant to write new data into a fresh segment while older segments remain untouched and fully indexed, avoiding the need to lock or rebuild a single giant index every time new points are added; this also lets background operations (like merging small segments into larger ones) happen without blocking ongoing reads and writes.
Search queries run against every segment independently and merge the results, which is transparent to the application — a query against a collection doesn't need to know or care how many segments exist underneath it, since Qdrant's optimizer handles segment management (creation, merging, and vacuuming of deleted data) automatically in the background.
More Related questions...