• Home
  • Categories
  • Pricing
  • Submit
    Built with
    Ever Works
    Ever Works

    Connect with us

    Stay Updated

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

    Product

    • Categories
    • 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
    Decorative pattern
    Decorative pattern
    1. Home
    2. Vector Database Extensions
    3. DuckDB VSS Extension

    DuckDB VSS Extension

    Experimental extension for DuckDB that adds HNSW indexing support to accelerate vector similarity search queries using DuckDB's fixed-size ARRAY type. First custom index type provided through a DuckDB extension.

    Surveys

    Loading more......

    Information

    Websiteduckdb.org
    PublishedMar 26, 2026

    Categories

    1 Item
    Vector Database Extensions

    Tags

    3 Items
    #duckdb#hnsw#sql

    Similar Products

    6 result(s)

    TiDB Vector Search

    Built-in vector search capability in TiDB, a MySQL-compatible database, enabling seamless storage and search for vectors using SQL with HNSW indexes. Eliminates the need for separate vector databases by combining operational and vector data.

    PGVector

    PGvector is an open-source PostgreSQL extension for vector similarity search, adding vector data type and operators like cosine and L2 distance. It supports HNSW and IVFFlat indexes for fast ANN search on high-dimensional data, integrating seamlessly with SQL for hybrid queries. Ideal for apps needing ACID transactions and relational data alongside vectors, unlike pure vector DBs like Milvus; outperforms native Postgres for vectors.

    ruvector-postgres

    PostgreSQL extension providing 230+ SQL functions as pgvector replacement, enabling vector search, graph queries, and AI features directly in relational databases.

    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.

    Neo4j Vector Index

    Vector search capabilities in Neo4j graph database using HNSW indexing. Enables combining knowledge graphs with semantic similarity search for hybrid retrieval that leverages both graph relationships and vector embeddings.

    HNSWlib

    A fast C++/Python library for Hierarchical Navigable Small World (HNSW) graph-based vector search, offering high performance for dense vector retrieval with incremental insert support.

    Featured

    Overview

    The vss extension is an experimental extension for DuckDB that adds indexing support to accelerate vector similarity search queries using DuckDB's new fixed-size ARRAY type.

    Key Features

    HNSW Index Support

    The vss extension introduces support for HNSW (Hierarchical Navigable Small Worlds) indexes to accelerate vector similarity search.

    Distance Metrics

    By default the HNSW index will be created using the euclidean distance l2sq (L2-norm squared) metric, matching DuckDB's array_distance function, but other distance metrics can be used by specifying the metric option during index creation. Supported metrics include:

    • l2sq (L2-norm squared)
    • cosine similarity
    • inner_product

    Installation

    The extension can be installed by running:

    INSTALL vss;
    LOAD vss;
    

    Creating an Index

    Here's an example of creating an HNSW index:

    CREATE INDEX my_hnsw_index 
    ON my_vector_table 
    USING HNSW (vec);
    

    Or with a specific metric:

    CREATE INDEX my_hnsw_cosine_index 
    ON my_vector_table 
    USING HNSW (vec) 
    WITH (metric = 'cosine');
    

    Technical Details

    Implementation

    The extension is based on the usearch library and represents DuckDB's first custom index type provided through an extension.

    Limitations

    The index itself is not buffer managed and must be able to fit into RAM memory. However, the index will be persisted into the database if you run DuckDB with a disk-backed database file.

    Recent Updates

    The vector search extension has received new performance optimizations with new features and improvements since the initial release.

    Use Cases

    • AI applications requiring vector search in analytical queries
    • Embeddings storage and retrieval
    • Semantic search use cases
    • Combining vector search with DuckDB's analytical capabilities

    Pricing

    Free and open-source as part of DuckDB.