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

    QBit

    ClickHouse's vector search extension that adds kNN similarity search capabilities to the ClickHouse columnar database, enabling hybrid analytical + vector queries at scale.

    Surveys

    Loading more......

    Information

    Websiteclickhouse.com
    PublishedApr 4, 2026

    Categories

    1 Item
    Vector Database Extensions

    Tags

    5 Items
    #clickhouse#columnar#knn#analytical#extension

    Similar Products

    6 result(s)

    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.

    SQLite VSS

    A SQLite extension for efficient vector similarity search based on FAISS, enabling semantic search, recommendations, and question-answering directly within SQLite databases.

    HeatWave

    A feature for MySQL that integrates vector store capabilities, allowing users to store and process vector embeddings for AI applications.

    Lantern

    Lantern is a PostgreSQL extension that enables efficient vector search capabilities, allowing users to perform similarity searches directly within their PostgreSQL databases.

    MariaDB Vector

    MariaDB Vector is an extension or feature of MariaDB, providing capabilities for handling and querying vector data within the MariaDB ecosystem.

    Overview

    QBit is a column type in ClickHouse designed for vector search that stores floats as bit planes instead of whole numbers. It enables users to choose how many bits to read during vector search, tuning recall and performance without changing the underlying data.

    How It Works

    • When data is inserted into a QBit column, it is transposed so that all first bits line up together, all second bits line up together, and so on. These groups are called bit planes.
    • Each group is stored in a separate FixedString(N) column, and all groups are bundled into a single Tuple that forms the QBit underlying structure.
    • During search, ClickHouse reads only the required subcolumns to reconstruct data up to the user-specified precision.
    • Untransposition (converting back from grouped bit representation to full vectors) is done efficiently using SIMD instructions (AVX-512 intrinsics).
    • Distance calculations leverage the SimSimd library for vectorized computations.

    Supported Types

    • BFloat16
    • Float32
    • Float64

    Key Features

    • Query-time precision tuning: Adjust precision and speed trade-off dynamically at query time
    • No upfront decisions: No need to choose quantization level or ANN parameters in advance
    • No data duplication: Unlike traditional quantization, doesn't require keeping a quantized copy alongside original data
    • No in-memory index: Works directly with stored data rather than maintaining an in-memory index like HNSW
    • Irreversible precision loss avoided: Original values remain intact; precision is controlled at read time

    Performance

    • Benchmarking on the HackerNews dataset (~29 million Float32 embeddings) achieved nearly 2x speed-up with good recall
    • On DBpedia dataset (1 million articles with Float32 embeddings), brute-force search processed 10M rows in 1.157s with 6.05 GiB peak memory, while QBit with precision 5 processed 8.46M rows in 0.271s with 739.82 MiB peak memory
    • Computational complexity remains O(n) - if the dataset fits comfortably in RAM with an HNSW index, HNSW is still the fastest choice

    Usage Example

    CREATE TABLE fruit_animal
    (
        word String,
        vec QBit(Float64, 5)
    )
    ENGINE = MergeTree
    ORDER BY word;
    
    SELECT word, L2DistanceTransposed(vec, [...], 16) AS distance
    FROM fruit_animal
    ORDER BY distance;
    

    Precision level 16 on Float64 (64 bits) reads only 25% of the data, skipping 75%.

    Comparison with Other Methods

    ApproachPrecisionSpeedTrade-offs
    Brute-forcePerfectSlowHigh resource usage
    HNSWGreatFastIndex must fit in memory, parameters chosen upfront
    QBitFlexibleFlexibleStill O(n) for number of records

    Pricing

    QBit is part of ClickHouse, which is open-source and free to use.