#1212th of 33 in Vector databases

pgvector

Postgres extension for exact and approximate vector similarity search

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
23.8k
License
custom license
Last commit
Nov 2026
Language
C
Stars, last 34 weeks+3,496
28 Mar 2026: 20,334 stars4 Apr 2026: 20,458 stars11 Apr 2026: 20,582 stars18 Apr 2026: 20,722 stars25 Apr 2026: 20,856 stars2 May 2026: 20,953 stars9 May 2026: 21,084 stars16 May 2026: 21,220 stars23 May 2026: 21,336 stars30 May 2026: 21,427 stars6 Jun 2026: 21,542 stars13 Jun 2026: 21,650 stars20 Jun 2026: 21,765 stars27 Jun 2026: 21,884 stars4 Jul 2026: 21,990 stars11 Jul 2026: 22,081 stars18 Jul 2026: 22,182 stars25 Jul 2026: 22,286 stars1 Aug 2026: 22,393 stars8 Aug 2026: 22,499 stars15 Aug 2026: 22,599 stars22 Aug 2026: 22,684 stars29 Aug 2026: 22,801 stars5 Sept 2026: 22,912 stars12 Sept 2026: 22,989 stars19 Sept 2026: 23,094 stars26 Sept 2026: 23,166 stars3 Oct 2026: 23,243 stars10 Oct 2026: 23,310 stars17 Oct 2026: 23,419 stars24 Oct 2026: 23,499 stars31 Oct 2026: 23,583 stars7 Nov 2026: 23,663 stars14 Nov 2026: 23,732 stars21 Nov 2026: 23,830 stars

20,334 on 28 Mar 202623,830 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

pgvector adds vector, halfvec, bit and sparsevec column types to Postgres 13+, with L2, inner product, cosine, L1, Hamming and Jaccard distance operators. It supports exact search by default and approximate search through HNSW or IVFFlat indexes, so embeddings sit next to relational data and can be queried with JOINs and transactions.

Who it is for: Teams already on Postgres adding embedding search to existing data

Strengths

  • Runs inside Postgres, so ACID, JOINs and point-in-time recovery apply to vectors
  • Offers both HNSW and IVFFlat indexes, plus half-precision, binary and sparse vector types
  • Iterative index scans (0.8.0+) address under-filled results when filtering with WHERE
  • Available via many installers and hosted Postgres providers; works with any Postgres client language

Weaknesses

  • HNSW and IVFFlat indexes on vector are limited to 2,000 dimensions
  • Approximate-index filtering is applied after the scan, which can reduce recall without tuning
  • HNSW builds are slow and memory-hungry unless the graph fits in maintenance_work_mem
  • Scaling beyond one Postgres node is not covered; README points to quantization instead

What it needs

  • no GPU
  • Docker
  • Needs PostgreSQL 13+

Also in Vector databases

See all 33
Also in Vector databases
RankProjectScore
#10lance-format/lanceColumnar table format for multimodal AI data with vector and full-text search7.4k stars+185 (+2.6%) in 30 daysApache-2.078 out of 100
#11infiniflow/infinityDatabase for hybrid dense, sparse, tensor and full-text search4.8k starsApache-2.076 out of 100
#13ChromaEmbedding database with a four-function API for Python and JavaScript29.8k starsApache-2.0known advisory in latest version73 out of 100
#14VespaServing engine for vectors, tensors, text and ML ranking at scale7.2k starsApache-2.072 out of 100
#15seekdbMySQL-compatible database with hybrid vector and full-text search and forkable databases Live demo ↗ (opens in a new tab)3.3k starsApache-2.071 out of 100