MongrelDB

Embedded Rust database with vector, sparse and text indexes

Image 1 of 1: MongrelDB site with a samurai dog mascot beside the headline

A log-structured columnar engine for operational writes on a custom format, with six secondary index kinds that share one row id: bitmap, learned range, substring, ANN, sparse and MinHash. Dense vectors, text and metadata sit in the same transactional row, queried through SQL.

  • 1.17 M rows/sBatch ingest, 1M rows
  • 8.04 msBitmap equality, 1M rows

Trade-offs

  • Operational data and model-derived representations stay in one transactional row, so local AI applications need no separate vector service.
  • The implicit primary-key surface still uses a BTreeMap stand-in instead of a completed HOT trie.

Q&A2

They are engineering measurements from one machine, not cross-machine product guarantees.

Reviews

Loading reviews

    More in Full-text search

    See all 13 →
    • dowseWindows search over file names, contents and text in screenshots
    • TachyonTypo-tolerant full-text search in a single Rust binary
    • FoJinCited answers from the Buddhist canon across 600+ sources
    • pg_kazsearchKazakh full-text search for PostgreSQL and Elasticsearch
    • sortir.inMap of local events gathered from many sources into one view
    • SomaOffline semantic search over documents, images, audio and video

    More in Database internals

    See all 29 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads

    More in Vector search

    See all 13 →
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory
    • VexorSemantic search engine for files and code, for people and agents
    • ZotSeekLocal semantic search and MCP server for a Zotero library
    • AionDBPostgreSQL-wire database in Rust with vector and graph access paths
    • MemongoLong-term memory for AI agents and teams, built on MongoDB