Vector Databases and Approximate Nearest Neighbour Search: A Review
Keywords:
Vector Database, Approximate Nearest Neighbour Search, Embeddings, Proximity Graph, Product Quantisation, Locality-Sensitive Hashing, Retrieval Augmented Generation, Similarity SearchAbstract
Embeddings have made similarity search a core operation in modern software, and the systems that serve it have grown from single-purpose libraries into full data management platforms. This review examines the two literatures together. It first states the approximate nearest neighbour problem and the measures used to judge solutions, namely recall, throughput, memory and build cost, and explains why exact methods degrade in high dimension. It then surveys the three dominant index families. Hashing provides analysis and simplicity but consumes memory at high recall; quantisation compresses vectors aggressively and underpins billion-scale deployments; proximity graphs currently give the best accuracy for a given amount of work when memory permits. The review then turns to vector database systems and identifies the concerns that separate them from libraries, including persistence, incremental update with compaction, separation of storage from computation, combined attribute and similarity predicates, and declarative interfaces. Hybrid query planning, physical deletion and accelerator-based serving are examined as areas where systems and algorithms constrain one another. The paper closes with open problems: benchmarks that ignore re-embedding and filtering, the absence of a standard evaluation for filtered similarity queries, weak support for cross-modal asymmetry, and the loose coupling between recall and downstream task quality.



