awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pgvector avatar

pgvector/pgvector

0
View on GitHub↗
21,787 星标·1,208 分支·C·16 次浏览github.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 历史

pgvector/pgvector 的 Star 历史图表pgvector/pgvector 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

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…

pgvector/pgvector 的主要功能有哪些?

pgvector/pgvector 的主要功能包括:Vector Database Extensions, Hybrid Search, Vector Similarity Search, Approximate Nearest Neighbor Search, Vector Indexing, Data Storage Systems, Databases and RAG, Vector Databases。

pgvector/pgvector 有哪些开源替代品?

pgvector/pgvector 的开源替代品包括: 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…

Pgvector 的开源替代方案

相似的开源项目,按与 Pgvector 的功能重合度排序。
  • lancedb/lancedblancedb 的头像

    lancedb/lancedb

    9,031在 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
    在 GitHub 上查看↗9,031
  • redis/go-redisredis 的头像

    redis/go-redis

    22,159在 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
    在 GitHub 上查看↗22,159
  • alibaba/zvecalibaba 的头像

    alibaba/zvec

    5,198在 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
    在 GitHub 上查看↗5,198
  • tensorchord/pgvecto.rstensorchord 的头像

    tensorchord/pgvecto.rs

    2,175在 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
    在 GitHub 上查看↗2,175
  • 查看 Pgvector 的所有 30 个替代方案→