Select every symptom that points to tombstone bloat in a long-running HNSW index.
Tombstones bloat memory, slow traversal, and sag recall in churned regions. They do not speed up writes or change score signs.
Imagine a city where buildings cannot be demolished, only marked condemned. The streets still wind through them, the map still lists them, the postal carrier still walks past them. The city has the same number of living residents but takes longer to navigate, takes the same amount of land, and gets confusing in neighborhoods that have been condemned often. New buildings still go up at the same speed; the condemned signs do not help construction. And the GPS coordinates of any address are unchanged by condemnations. That is exactly what tombstones do to a vector index.
Detailed answer & concept explanation~2 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 minutes: explain why HNSW deletes are logical, walk through the three real symptoms with quantitative grounding, then dispatch the two distractors and finish with the production monitoring story.
Real products, models, and research that use this idea.
- Weaviate emits a tombstone-count metric per shard and triggers cleanup based on a configurable threshold so operators can monitor proactively
- Vespa's content nodes run continuous compaction on attribute and document stores with explicit tombstone-aware logic for write-heavy feeds
- Milvus 2.x exposes growing, sealed, and flushed segment states; deletes accumulate as bitmap entries until segments are compacted
- Qdrant's optimizer reclaims tombstoned vectors during background segment merges and exposes the cadence as a tunable in production configs
What an interviewer would ask next. Try answering before peeking at the approach.
QWhat is the relationship between tombstone ratio and recall, quantitatively?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Assuming a delete frees memory or speeds up the next query. Logical deletes are still in the graph; only compaction or rebuild reclaims them.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.