pgvector matured in 2023-2024 with the HNSW index type and parallel construction that arrived in version 0.6. For projects already running PostgreSQL, a dedicated vector database is not needed in most cases: this guide explains when PostgreSQL is enough, how to configure the index, and where it starts to fall short.
pgvector turns PostgreSQL into a vector database without adding another service to the stack. With version 0.8.6 and PostgreSQL 18, HNSW reached 95.1% recall@10 at 1.15 ms on 99,000 real embeddings. SQL filters share the query with vector ranking, and iterative index scans stop a filter from returning fewer rows than requested.
13 min252
We use first- and third-party cookies to analyze site traffic. You can accept them, reject them, or configure your choice.
Learn more about cookies
Cookie preferences
NecessaryEssential for the site to work. Always on.
AnalyticsHelp us understand how the site is used (Google Analytics).