[KongchangAI]
Product

pgvector

pgvector is an open-source vector extension plugin for PostgreSQL that enables storing, indexing, and querying high-dimensional vector data within a relational database. It supports both exact search and approximate nearest neighbor (ANN) search, provides multiple distance metrics such as Euclidean distance, cosine similarity, and inner product, and is compatible with index algorithms including IVFFlat and HNSW. pgvector is commonly used for storing and retrieving machine learning embedding vectors, allowing developers to implement semantic search and recommendation features within PostgreSQL without a dedicated vector database.

Core Facts

Timeline (last 90 days)

Oct 30

For each query, chatVia.ai runs in parallel a pgvector-based dense vector similarity search and an in-Postgres sparse BM25 keyword search, and merges the rankings using Reciprocal Rank Fusion.

Unverified50%
Oct 28

pgvector's performance in ultra-large-scale vector scenarios is inferior to that of dedicated vector databases.

Unverified50%
Oct 27

OntoGr runs on top of FalkorDB or Neo4j, and can optionally use pgvector or Postgres; a background consolidation task handles deduplication, summarization, scoring, and archiving; the LLM and embedder are bring-your-own.

Unverified50%
Oct 21

Dedicated vector databases (such as Pinecone, Qdrant, and Weaviate) offer more extreme performance optimization and distributed scaling for large-scale vector retrieval, while pgvector's advantage is introducing no new components, supporting transactional writes and JOIN queries, and keeping operational complexity low.

Unverified50%
Oct 21

At medium scale and in scenarios requiring strongly consistent metadata filtering, many teams choose pgvector to avoid multi-system synchronization issues.

Unverified50%
Oct 20

pgvector's default HNSW settings cause insert stalls of more than 2 seconds during batch memory writes.

Unverified50%
Oct 20

The HNSW index locks the table during batch inserts, causing write stalls of more than 5 seconds; the solution is to write in batches with INSERT ... ON CONFLICT DO NOTHING and a 50ms debounce window.

Unverified50%
Oct 20

In pgvector's HNSW index, the parameter m is the number of neighbor edges kept per node, and ef_construction is the size of the candidate queue during construction; together they determine the recall-latency trade-off at query time.

Unverified50%
Oct 20

In pgvector's HNSW index, setting m to 16 and ef_construction to 64 achieves a p99 latency of 12ms under 500 concurrent inserts.

Unverified50%
Oct 19

pgvector's index construction consumes considerable memory, and index maintenance cost under high-concurrency writes rises noticeably with data volume, so load testing should be done against actual data scale and concurrency patterns before production deployment.

Unverified50%

40 more timeline events

All Facts (20)

Verified

The pgvector extension adds vector storage and similarity search capabilities to PostgreSQL, enabling Supabase to serve simultaneously as a traditional database and a vector database.

80%
Verified

Pinecone、Chroma、Weaviate是常见的向量数据库产品

80%
Verified

Long-term memory is typically implemented with the help of vector databases (such as Chroma, Pinecone, Weaviate, Milvus, etc.) to enable semantic retrieval.

80%
Verified

典型的RAG流程包括文档切片、向量化嵌入、存入向量数据库、语义检索、上下文拼接和最终生成六个步骤

75%
Verified

pgvector is an open-source extension for PostgreSQL that natively adds vector data types and similarity search capabilities to the relational database, supporting both exact nearest-neighbor and approximate nearest-neighbor (HNSW, IVFFlat index) retrieval modes.

70%
Verified

Pinecone is a fully managed, cloud-native vector database.

70%
Verified

PostgreSQL can support vector retrieval via pgvector.

65%
Verified

向量存储常用专用向量数据库如Pinecone、Chroma、Weaviate,支持近似最近邻检索

65%
Verified

The RAG mechanism relies on the approximate nearest neighbor (ANN) search capability of vector databases (such as Pinecone, Weaviate, and Milvus) to achieve millisecond-level retrieval.

65%
Unverified

MaxKB通常集成PostgreSQL的pgvector扩展或独立的向量数据库

75%
Unverified

pgvector was first released in 2021, embedding high-dimensional vector storage and approximate nearest neighbor retrieval capabilities into PostgreSQL.

70%
Unverified

For applications with vector scale below tens of millions and insensitivity to latency, pgvector's existing indexes may already be sufficient, and there is no need to introduce new dependencies.

60%
Unverified

Mainstream vector databases such as Pinecone, Weaviate, Qdrant, and pgvector generally adopt the HNSW approximate nearest neighbor indexing algorithm at their core.

60%
Unverified

For each query, chatVia.ai runs in parallel a pgvector-based dense vector similarity search and an in-Postgres sparse BM25 keyword search, and merges the rankings using Reciprocal Rank Fusion.

50%
Unverified

pgvector's performance in ultra-large-scale vector scenarios is inferior to that of dedicated vector databases.

50%
Unverified

OntoGr runs on top of FalkorDB or Neo4j, and can optionally use pgvector or Postgres; a background consolidation task handles deduplication, summarization, scoring, and archiving; the LLM and embedder are bring-your-own.

50%
Unverified

Dedicated vector databases (such as Pinecone, Qdrant, and Weaviate) offer more extreme performance optimization and distributed scaling for large-scale vector retrieval, while pgvector's advantage is introducing no new components, supporting transactional writes and JOIN queries, and keeping operational complexity low.

50%
Unverified

At medium scale and in scenarios requiring strongly consistent metadata filtering, many teams choose pgvector to avoid multi-system synchronization issues.

50%
Unverified

The HNSW index locks the table during batch inserts, causing write stalls of more than 5 seconds; the solution is to write in batches with INSERT ... ON CONFLICT DO NOTHING and a 50ms debounce window.

50%
Unverified

In pgvector's HNSW index, setting m to 16 and ef_construction to 64 achieves a p99 latency of 12ms under 500 concurrent inserts.

50%

Source Articles