• Home
  • Categories
  • Tags
  • Pricing
  • Submit
    Decorative pattern
    1. Home
    2. Vector Database Extensions
    3. pg_embedding

    pg_embedding

    PostgreSQL extension enabling the Hierarchical Navigable Small World (HNSW) algorithm for vector similarity search. Developed by Neon, it delivers 5-30x faster performance compared to pgvector's IVFFlat indexing for approximate nearest neighbor search.

    🌐Visit Website

    About this tool

    Overview

    The pg_embedding extension enables using the Hierarchical Navigable Small World (HNSW) algorithm for vector similarity search in PostgreSQL. Developed by Neon, this extension provides significantly faster performance than traditional vector indexing methods.

    Key Features

    • HNSW Algorithm: Implements the Hierarchical Navigable Small World algorithm for efficient approximate nearest neighbor search
    • High Performance: Delivers 5-30x faster search performance compared to pgvector's IVFFlat indexing for the same recall levels
    • Graph-Based Search: Uses graph-based approximate nearest neighbor search for superior speed and accuracy
    • PostgreSQL Native: Seamlessly integrates with PostgreSQL as an extension
    • LangChain Integration: Works with LangChain's PGEmbedding vectorstore for building AI applications

    Performance

    The pg_embedding extension brings 20x the speed for 99% accuracy to graph-based approximate nearest neighbor search. It significantly outperforms pgvector's IVFFlat index in both speed and accuracy for most use cases.

    Installation

    The extension can be added to PostgreSQL with the command:

    CREATE EXTENSION embedding;
    

    Use Cases

    • Semantic search applications
    • RAG (Retrieval Augmented Generation) systems
    • Recommendation engines
    • Similarity-based search in AI applications
    • High-performance vector search in PostgreSQL databases

    Considerations

    While HNSW typically provides better speed and accuracy than IVFFlat, it may consume more memory. For strict memory-constrained environments, IVFFlat might be more suitable despite the performance trade-offs.

    Surveys

    Loading more......

    Information

    Websitegithub.com
    PublishedMar 17, 2026

    Categories

    1 Item
    Vector Database Extensions

    Tags

    3 Items
    #Postgresql#Hnsw#Open Source

    Similar Products

    6 result(s)
    pgvecto.rs
    Featured

    PostgreSQL extension for scalable, low-latency vector search written in Rust. Features 20x faster HNSW than pgvector, with support for FP16, INT8, and binary vectors. This is an OSS extension.

    VectorChord
    Featured

    PostgreSQL extension for scalable, high-performance vector search, successor to pgvecto.rs. Features RaBitQ quantization enabling 6x cost savings vs Pinecone. Fully compatible with pgvector. This is an OSS extension.

    pgvectorscale

    PostgreSQL extension that builds on pgvector for higher-performance embedding search with DiskANN indexing. Achieves 28x lower latency and 16x higher throughput than Pinecone at 75% less cost on 50M embeddings.

    pgai

    Open-source PostgreSQL extension and Python library that automates embedding generation and synchronization for RAG and semantic search applications. Features pgai Vectorizer for declarative embedding pipelines. This is an OSS solution.

    YugabyteDB with pgvector
    Featured

    PostgreSQL-compatible distributed database with pgvector support and USearch integration, proven to handle billions of vectors with 96.56% recall and sub-second query latency.

    HNSWlib
    Featured

    Header-only C++/Python library for fast approximate nearest neighbor search implementing the HNSW algorithm. Used by Spotify and others, offers 10x speed increase over Annoy. This is an OSS library.

    Decorative pattern
    Built with
    Ever Works
    Ever Works

    Connect with us

    Stay Updated

    Get the latest updates and exclusive content delivered to your inbox.

    Product

    • Categories
    • Tags
    • Pricing
    • Help

    Clients

    • Sign In
    • Register
    • Forgot password?

    Company

    • About Us
    • Admin
    • Sitemap

    Resources

    • Blog
    • Submit
    • API Documentation
    All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this repository, related repositories, and associated websites are for identification purposes only. The use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. This directory may include content generated by artificial intelligence.
    Copyright © 2025 Awesome Vector Databases. All rights reserved.·Terms of Service·Privacy Policy·Cookies