arrow
Return

SingleStore-V: An Integrated Vector Database System in SingleStore

delete2024-11-08
delete0
PRE
AI
C
Chen, Cheng *
J
Jin, Chenzhe
Y
Yunan Zhang
S
Sasha Podolsky
C
Chun‐Ying Wu
S
Szu-Po Wang
E
Eric N. Hanson
Z
Zhou Sun
R
Robert Walzer
王建国 cover
王建国 (Jianguo Wang)
DOI:10.14778/3685800.3685805delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Vector databases have recently gained significant attention due to the emergence of large language models that produce vector embeddings for text. Existing vector databases can be broadly categorized into two types: specialized and generalized. Specialized vector databases are explicitly designed and optimized for managing vector data, while generalized ones support vector data management within a general purpose database. While specialized vector databases are interesting, there is a substantial customer base interested in generalized vector databases for various reasons, e.g., a reluctance to move data out of relational databases to reduce data silos and costs, the desire to use SQL, and the need for more sophisticated query processing of vector and non-vector data. However, generalized vector databases face two main challenges: performance and interoperability of vector search with SQL, such as combining vector search with filters, joins, or even fulltext search. In this paper, we present SingleStore-V, a full-fledged generalized vector database integrated into SingleStore, a modern distributed relational database optimized for both OLAP and OLTP workloads. SingleStore-V achieves high performance and interoperability via a suite of optimizations. Experiments on standard vector benchmarks show that SingleStore-V performs comparably to Milvus, a highly-optimized specialized vector database, and significantly outperforms pgvector, a popular generalized vector database in PostgreSQL. We believe this paper will shed light on integrating vector search into relational databases in general, as many design concepts and optimizations apply to other databases.
Keywords:
NEAREST-NEIGHBOR SEARCH
PRODUCT QUANTIZATION

Journal

P
Proceedings of the VLDB Endowment
IF:
3.3
Papers:
553
Citations:
1.2W

Organization

S
singlestore
Scholars:
7
Papers: 1
Citations: 0