pgvector logo

pgvector

pgvector/pgvector

Open-source vector similarity search for Postgres

GraphCanon updated Oct 28, 2026 · GitHub synced Oct 28, 2026

23k stars1.3k forksLast push Sep 10, 2026 C Other

Decision brief

Unverified catalog guidance: pgvector is an extension for PostgreSQL that enables efficient vector similarity search using various distance metrics, including L2, inner product, cosine distance, and L1 distance.

Good fit when

  • Unverified catalog guidance: When you need to perform vector similarity searches within a PostgreSQL database and require support for multiple distance metrics.
  • Unverified catalog guidance: If your application is already using PostgreSQL and you want to extend its capabilities to handle vector data efficiently without migrating to a different database system.

Avoid when

  • Unverified catalog guidance: If your application does not require the full feature set of PostgreSQL and you are looking for a lightweight solution specifically designed for vector similarity searches.
  • Unverified catalog guidance: When you need real-time, low-latency vector similarity searches that might be better served by specialized vector databases or in-memory solutions.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (23,049) are secondary evidence.

Docker Hub pulls (30d)
191,065,051·Docker Hub API·Sep 18, 2026

Maintenance and security

Full trust report
Maintenance
Active (7d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/pgvector/pgvector
Source repository

Relationship proposals(27)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Alternatives

Integrations

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

pgvector is an extension for PostgreSQL that enables efficient vector similarity search using various distance metrics including L2, inner product, cosine distance, and L1 distance.

Capability facts

Docker
Docker configuration present

Source: dockerfile:Dockerfile · Sep 18, 2026

Languages
c

Source: github.language · Sep 18, 2026

Categories

Graph entities

Tags

README

Getting Started Enable the extension (do this once in each database where you want to use it) Create a vector column with 3 dimensions Insert vectors Get the nearest neighbors by L2 distance Also supports inner product ( ), cosine distance ( ), and L1 distance ( ) Note: returns t...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.