Building An Integrated Vector Database System in PostgreSQL
Jiayi Liu, Te Guo, Jianguo Wang
Key points
From the paper's conclusion- Together, these advances make PostgreSQL-V 2.0 a fully concurrent, crash-resilient, and replication-ready vector database inside PostgreSQL.
Abstract
This paper presents PostgreSQL-V 2.0, a scalable integrated vector database system inside PostgreSQL. Existing PostgreSQL-based vector search systems such as pgvector embed vector indexes into PostgreSQL's page-oriented storage engine, incurring significant overhead that leads to a huge performance gap with specialized vector databases. In our earlier work, we introduced PostgreSQL-V 1.0, which addresses this issue by separating vector index structures from PostgreSQL's storage engine, enabling vector search performance close to that of native vector index libraries while preserving SQL compatibility. However, we find that PostgreSQL-V 1.0 has three limitations that matter for real-world workloads: it only supports a single connection (without concurrency), recovery time grows with index size, and physical replication is unsupported. We further present PostgreSQL-V 2.0, which closes all three gaps. PostgreSQL-V 2.0's concurrency support enables fully concurrent vector searches and updates across PostgreSQL's multi-process backends, delivering up to 36.4x the throughput of PostgreSQL-V 1.0 while serving 32 concurrent clients. PostgreSQL-V 2.0's fast crash recovery keeps cost independent of total index size, remaining near 20 ms while PostgreSQL-V 1.0's grows into seconds-scale. PostgreSQL-V 2.0's physical replication support extends physical replication to the decoupled index, preserving index consistency on standbys without burdening the primary node. Together, these advances make PostgreSQL-V 2.0 a fully concurrent, crash-resilient, and replication-ready vector database inside PostgreSQL.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Look Before You Leap: Re-Architecting Disk-Resident Vector Search with TriVSarXiv · 2026
- Per-Query Recall Guarantees for Approximate Nearest Neighbor Search in Dynamic Vector DatabasesarXiv · 2026
- VecDBLens: An Evaluatology-Based Framework for Vector Database DiagnosisarXiv · 2026
- Federated Vector Retrieval across Heterogeneous VectorDBsarXiv · 2026
- Pelorus: Warped-Product Graph Indexing for Hyperbolic Vector SearcharXiv · 2026
- KuroANN: Avoiding Unnecessary SSD Reads in High-Recall Filtered Vector SearcharXiv · 2026