pgvector vs VectorChord
pgvector: The standard Postgres extension for vector similarity search with HNSW and IVFFlat indexes. VectorChord: Disk-friendly Postgres vector extension using IVF + RaBitQ, the successor to pgvecto.rs.
key differences
- Licensing: pgvector is open source (permissive) (PostgreSQL License); VectorChord is open source (copyleft) (AGPL-3.0 or Elastic License 2.0 (dual)).
- VectorChord is built for larger datasets (≤ 1 PB) than pgvector (≤ 10 TB).
- Horizontal scaling is addon in pgvector and none in VectorChord.
choose pgvector for
- +Adding semantic search to an existing Postgres app
- +RAG with permission filtering via SQL joins
- +Recommendations next to product data
- +Deduplication and similarity lookups
best at · Vector search, RAG, OLTP
choose vectorchord for
- +Scaling Postgres vector search past pgvector's comfort zone
- +Cost-efficient disk-based RAG retrieval
- +Hybrid BM25 plus vector search in Postgres
best at · Vector search, RAG, OLTP
pgvector vs VectorChord: FAQ
What is the difference between pgvector and VectorChord?
pgvector: The standard Postgres extension for vector similarity search with HNSW and IVFFlat indexes. VectorChord: Disk-friendly Postgres vector extension using IVF + RaBitQ, the successor to pgvecto.rs. Licensing: pgvector is open source (permissive) (PostgreSQL License); VectorChord is open source (copyleft) (AGPL-3.0 or Elastic License 2.0 (dual)). VectorChord is built for larger datasets (≤ 1 PB) than pgvector (≤ 10 TB). Horizontal scaling is addon in pgvector and none in VectorChord.
When should I choose pgvector over VectorChord?
Choose pgvector for adding semantic search to an existing Postgres app, RAG with permission filtering via SQL joins and recommendations next to product data. Choose VectorChord for scaling Postgres vector search past pgvector's comfort zone, cost-efficient disk-based RAG retrieval and hybrid BM25 plus vector search in Postgres.
Is pgvector or VectorChord more popular?
pgvector ranks #44 on the WhichDB Score (40.0/100) and VectorChord ranks #250 (13.7/100). Popularity is not fit: check the requirements that matter for your project.
Are pgvector and VectorChord open source?
Yes. pgvector is open source. License: PostgreSQL License. Yes. VectorChord is open source. License: AGPL-3.0 or Elastic License 2.0 (dual).