Skip to content

pgvector

Published

pgvector adds vector storage and similarity search capabilities to PostgreSQL.

Visit pgvector

Overview

pgvector is a PostgreSQL extension that stores vectors in ordinary database tables and adds similarity-search operators. Applications can keep embeddings beside relational data, use SQL to retrieve neighbors, and retain PostgreSQL features such as transactions and joins instead of introducing a separate vector service.

It suits developers who already operate PostgreSQL and want vector retrieval within that environment. Exact search and approximate indexes serve different needs: approximate retrieval exchanges some recall for speed, and index construction, memory consumption, filtering, and workload contention need testing. pgvector stores and searches supplied vectors; an application still needs an embedding-generation workflow.

Capabilities

  • Exact and approximate search

    Run exact nearest-neighbor queries or use HNSW and IVFFlat indexes for approximate retrieval. Official source

  • Multiple vector representations

    Store single-precision, half-precision, binary, and sparse vectors. Official source

  • Distance operators

    Query supported vector types using measures including L2, inner product, cosine, L1, Hamming, and Jaccard distance. Official source

  • Relational integration

    Use vector columns with PostgreSQL queries, joins, transactions, and ordinary insert, update, and delete operations. Official source

What users say

Limited: one independent source

One practitioner blog describing an attempted production implementation; limited feedback, not a benchmark.

Independent feedback is limited to one critical production-oriented account by Alex Jacobs. He appreciates the attraction of keeping vectors in PostgreSQL but describes difficulties around index selection, index-build memory, sustained ingestion, and the interaction between metadata filtering and approximate search.

This is one practitioner’s assessment, not a controlled comparison or a satisfaction survey. Some claims are deliberately sweeping; they should be treated as prompts for workload-specific tests rather than universal limits. In particular, current official documentation should govern decisions about supported indexing and filtering behavior.

Sources

Sources checked .

Reviews

No ratings yet

No reviews yet

Be the first to share your experience.

Your review

Not rated

0 / 500

Advertisement

More Developer & Code tools

  • 10Web

    10Web provides AI-assisted WordPress website creation, hosting, and site management tools.

  • 1Password CLI

    1Password CLI lets developers and automation scripts securely access and manage vault items from the command line.

  • 1Password for Agents

    1Password for Agents enables AI assistants to sign into accounts through identity verification and user approval without receiving the underlying credentials.

  • Agent Plugins

    Packages your reusable Skills and MCP server configs once so compatible tools like ChatGPT, Codex, Cursor, and GitHub Copilot can load the same setup —free/open-source.

  • Agent Score

    Latitude scores production agents using session evidence across outcome, reliability, cost, speed, and safety, linking issues to traces and evaluations.

  • Agent Substrate

    Agent Substrate is an open-source Kubernetes runtime that suspends and resumes isolated agent environments while managing execution state and network access.