Zenaique

Select every symptom that points to tombstone bloat in a long-running HNSW index.

Multi-select·Medium·4.0 · 0·~1 min
Attempt it
Quick reference
TL;DR

Tombstones bloat memory, slow traversal, and sag recall in churned regions. They do not speed up writes or change score signs.

Memory aid
Sign in for the mnemonic that makes this stick. See Pro pricing.
Easy to grasp

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.

Key concepts
Detailed answer & concept explanation
~2 min read

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.

Sign in for 5 free unlocks/day or go Pro for unlimited. See Pro pricing.
Quick scan · 2–4 min

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-world examples

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
Interviewer follow-ups

What an interviewer would ask next. Try answering before peeking at the approach.

QWhat is the relationship between tombstone ratio and recall, quantitatively?
Sign in or go Pro to see the approach for this follow-up.
QHow do tombstones interact with the LSM-style segment architecture used by Milvus, Qdrant, and Pinecone serverless?
Sign in or go Pro to see the approach for this follow-up.
Don't say this

Red flags and common mistakes that signal junior thinking. Click to expand.

Most common mistake

Assuming a delete frees memory or speeds up the next query. Logical deletes are still in the graph; only compaction or rebuild reclaims them.

Sign in or go Pro to see all red flags and common mistakes. See Pro pricing.
60-second cheat sheet

The night-before-the-interview bullets. Scan these on the way to the call.

Sign in for 5 unlocks/day or go Pro for unlimited revision sheets. See Pro pricing.
References

Primary sources. Skim if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
HNSW vs IVF, when do you pick each for a production vector index?
Flashcard·Medium