ld.← ALL FIELD NOTESTHE RELATED CASE STUDY ↗
FIELD NOTES / 10STORAGE   ·   THE QDRANT SERIES

What happens inside a segment?

A collection is not simply one giant index. Qdrant organizes shard data into segments and optimizes them in the background.

A unit of storage and search

Segments hold subsets of points, their payloads, vectors, and associated indexes. Qdrant can search across segments and combine results, while updates and background work continue.

New or recently updated data may be searchable before it has an optimized vector index. During large uploads, indexing and search can also compete for resources, so latency may change while the optimizer catches up.

Optimization is background work

The optimizer can merge segments and build indexes according to configured thresholds. Deletes are initially marked; vacuum optimization can later rebuild qualifying segments without the deleted data.

That helped us understand why disk space or search speed might not immediately reflect a large batch or deletion. Segment count is one useful signal, but resource usage and optimizer status matter too.

INSIDE A SHARD
SEGMENTSPoints & payloads
INDEXESSearch structures
OPTIMIZERMerge & rebuild

Continue the conversation

Further reading

KEEP READING / 09A collection starts with a contract.

Another note from the notebook.