awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pgvector avatar

pgvector/pgvector

0
View on GitHub↗
21,787 stars·1,208 forks·C·17 viewsgithub.com/pgvector/pgvector↗

Pgvector

This project is an extension for PostgreSQL that enables the storage, indexing, and querying of high-dimensional vector embeddings directly within relational tables. It functions as a vector similarity search engine, allowing users to perform nearest neighbor searches using standard distance metrics such as cosine, inner product, and L2 distance. By integrating these capabilities into the database engine, it allows for the execution of vector operations alongside traditional relational data management.

The extension distinguishes itself by enabling hybrid search workflows, where vector similarity results are combined with relational filters or full-text search criteria within a single query plan. It utilizes specialized indexing structures, including graph-based and cluster-based algorithms, to provide logarithmic search performance on large datasets. These indexes are managed through standard database operators, allowing for the integration of vector-based machine learning workflows into existing SQL syntax.

Beyond core search functionality, the project provides a suite of tools for managing high-dimensional data, including vector aggregation, mathematical transformations, and format conversion. It supports memory-optimized storage formats to reduce the footprint of embeddings and executes distance calculations directly within the database memory space to minimize latency. The extension is designed to be installed as a standard PostgreSQL module, providing native support for vector data types and query optimization.

Features

  • Vector Database Extensions - Adds native support for storing, indexing, and querying high-dimensional vector embeddings within relational tables.
  • Hybrid Search - Combines vector similarity search with traditional relational filters and full-text search criteria within a single query plan.
  • Vector Similarity Search - Provides native support for nearest neighbor searches using distance metrics like cosine, inner product, and L2 distance.
  • Approximate Nearest Neighbor Search - Implements graph-based and cluster-based indexing structures to enable logarithmic search performance for high-dimensional vector data.
  • Vector Indexing - Implements specialized indexing structures like HNSW and IVFFlat to accelerate nearest neighbor searches on large vector datasets.
  • Data Storage Systems - Enables vector similarity search within PostgreSQL.
  • Databases and RAG - Vector similarity search for Postgres.
  • Vector Databases - PostgreSQL extension for vector similarity search.
  • Infrastructure and Serving - Vector similarity search for Postgres.
  • Database-Native ML Integration - Integrates vector-based machine learning workflows into standard database queries and hybrid search applications.
  • Hybrid Query Execution - Integrates vector similarity scans with traditional relational filters within a single unified query plan.
  • Filtered Similarity Searches - Allows narrowing down similarity search results by applying standard relational filters or full-text criteria during query execution.
  • Query Operators - Exposes vector similarity metrics as standard database operators for seamless integration with SQL syntax.
  • In-Process Computation - Executes distance calculations and transformations directly within the database memory to minimize latency.
  • Distance Metrics - Calculates vector distances using standard metrics like L1, L2, Hamming, and Jaccard to determine similarity.

Star history

Star history chart for pgvector/pgvectorStar history chart for pgvector/pgvector

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Pgvector

Similar open-source projects, ranked by how many features they share with Pgvector.
  • lancedb/lancedblancedb avatar

    lancedb/lancedb

    9,031View on GitHub↗

    LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector search engine. It serves as a high-performance backend for indexing and retrieving high-dimensional embeddings, providing the foundation for machine learning data pipelines. The system distinguishes itself through a combination of cloud-native object storage and immutable version tracking, allowing for data time-travel and reproducible AI experiments. It integrates hybrid search capabilities, merging dense vector similarity with BM25 full-text search and SQL-like scalar filters

    HTMLapproximate-nearest-neighbor-searchimage-searchnearest-neighbor-search
    View on GitHub↗9,031
  • redis/go-redisredis avatar

    redis/go-redis

    22,159View on GitHub↗

    This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive interface for managing remote data stores, enabling developers to execute standard database commands, handle complex data structures, and perform asynchronous operations within Go applications. The library distinguishes itself through its support for advanced Redis capabilities, including connection pooling, pipelining, and transactional integrity. It provides specialized primitives for managing distributed clusters, including automated topology updates and request routing to sha

    Gogogolangredis
    View on GitHub↗22,159
  • alibaba/zvecalibaba avatar

    alibaba/zvec

    5,198View on GitHub↗

    zvec is an embedded vector database engine and indexing library designed for high-dimensional similarity search. It functions as a hybrid search engine and a retrieval-augmented generation knowledge base, allowing for the storage and retrieval of dense and sparse vectors. The system is distinguished by its hybrid retrieval pipeline, which fuses vector similarity, full-text keyword matching, and scalar metadata filtering into single query operations. It supports a plugin-based model integration system for registering custom embedding models and rerankers, as well as language bindings for nativ

    C++ann-searchembedded-databaserag
    View on GitHub↗5,198
  • tensorchord/pgvecto.rstensorchord avatar

    tensorchord/pgvecto.rs

    2,175View on GitHub↗

    pgvecto.rs is a database extension that integrates high-dimensional vector search capabilities directly into PostgreSQL. It functions as a specialized engine for storing and retrieving embeddings, allowing relational databases to perform similarity searches alongside traditional structured data queries. The extension distinguishes itself through hardware-aware execution strategies that maximize performance. It performs runtime analysis of the host machine to utilize specific processor instruction sets for accelerated mathematical operations. To manage memory efficiently, it employs quantizati

    Rustchatgptfaissgpt
    View on GitHub↗2,175
See all 30 alternatives to Pgvector→

Frequently asked questions

What does pgvector/pgvector do?

This project is an extension for PostgreSQL that enables the storage, indexing, and querying of high-dimensional vector embeddings directly within relational tables. It functions as a vector similarity search engine, allowing users to perform nearest neighbor searches using standard distance metrics such as cosine, inner product, and L2 distance. By integrating these capabilities into the database engine, it allows for the execution of vector operations alongside…

What are the main features of pgvector/pgvector?

The main features of pgvector/pgvector are: Vector Database Extensions, Hybrid Search, Vector Similarity Search, Approximate Nearest Neighbor Search, Vector Indexing, Data Storage Systems, Databases and RAG, Vector Databases.

What are some open-source alternatives to pgvector/pgvector?

Open-source alternatives to pgvector/pgvector include: lancedb/lancedb — LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector… redis/go-redis — This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive… alibaba/zvec — zvec is an embedded vector database engine and indexing library designed for high-dimensional similarity search. It… tensorchord/pgvecto.rs — pgvecto.rs is a database extension that integrates high-dimensional vector search capabilities directly into… tporadowski/redis — Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL… asg017/sqlite-vec — sqlite-vec is a C-based vector library and SQLite extension that adds virtual tables for storing and querying…