cozo VS mentat

Compare cozo vs mentat and see what are their differences.

mentat

UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript. (by mozilla)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cozo mentat
29 9
3,099 1,610
4.3% -
8.0 10.0
about 1 month ago over 5 years ago
Rust Rust
Mozilla Public License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cozo

Posts with mentions or reviews of cozo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-21.
  • Transactional, relational-graph-vector database that uses Datalog for query
    1 project | news.ycombinator.com | 31 Mar 2024
  • Learn Datalog Today
    8 projects | news.ycombinator.com | 21 Jan 2024
  • Documentation for Rust interface
    1 project | /r/cozodb | 8 Dec 2023
    I can figure parts of it out from https://github.com/cozodb/cozo/blob/main/cozo-core/tests/air_routes.rs which is enough to get started
  • The Ten Rules of Schema Growth
    2 projects | news.ycombinator.com | 31 Oct 2023
    I've been keeping an eye on https://github.com/cozodb/cozo which is pretty close to something I've wanted, a sqlite version of datalog/datomic.
  • Fast Analytics and Graph Traversals with Datalog
    1 project | news.ycombinator.com | 5 Sep 2023
  • These new vector databases are only slightly better than outright scams
    1 project | /r/Database | 24 Jun 2023
    Finally, the one product I was extremely impressed with and felt was genuinely impressive as a database in general was cozodb.
  • An embedded NoSQL database on rust.
    1 project | /r/rust | 17 May 2023
    Take a look at cozodb. It meets most of your goals and I've been really enjoying using it. It might give you some inspiration or something to contribute to.
  • Hyper – A fast and correct HTTP implementation for Rust
    14 projects | news.ycombinator.com | 12 May 2023
    Sure. They're called 'partials' sometimes. Useful if you want to rerender just part of a page. This is a pattern used by HTMX, a 'js framework' that accepts fragments of html in an http response and injects it into the page. This is good because it avoids the flash and state loss of a whole page reload. See the HTMX essay on template fragments for a more complete argument [0].

    This is a go template for an interactive todos app [1] that I'm experimenting with. The html content of the entire page is present in one template definition which is split into 6 inline {{block}} definitions / "fragments". The page supports 5 interactions indicated by {{define}} definitions, each of which reuse various block fragments relevant to that interaction. I'm in the process of converting it to use embedded cozodb [2] queries which act as a server side data store. The idea here is that the entire 'app', including all html fragments, styles, http requests and responses, db schema, and queries are embedded into this single 100-line file.

    [0]: https://htmx.org/essays/template-fragments/

    [1]: https://github.com/infogulch/go-htmx/blob/master/templates/t...

    [2]: https://github.com/cozodb/cozo

  • What Is a Vector Database
    22 projects | news.ycombinator.com | 5 May 2023
    If anyone wants to try a FOSS vector-relational-graph hybrid database for more complicated workloads than simple vector search, here it is: https://github.com/cozodb/cozo/

    About the integrated vector search: https://docs.cozodb.org/en/latest/releases/v0.6.html

    It also does duplicate detection (Minhash-LSH) and full-text search within the query language itself: https://docs.cozodb.org/en/latest/releases/v0.7.html

    HN discussion a few days ago: https://news.ycombinator.com/item?id=35641164

    Disclaimer: I wrote it.

  • Calling Rust folks: please liberate Dart from SQL
    2 projects | /r/FlutterDev | 28 Apr 2023
    You are probably talking about this cozo.

mentat

Posts with mentions or reviews of mentat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-16.
  • Why did Mozilla abandon the Mentat database?
    1 project | /r/rust | 28 Jun 2023
    Why did Mozilla abandon the Mentat database?
  • Asami: A flexible graph store in Clojure
    7 projects | news.ycombinator.com | 16 Nov 2022
    There is (now unmaintained) project called Mentat [0] from Mozilla.

    [0] https://github.com/mozilla/mentat

  • Ideas for DataScript 2
    6 projects | news.ycombinator.com | 14 Aug 2022
    Mozilla was working on the opposite, a Datalog of SQLite, with Mentat, now abandoned: https://github.com/mozilla/mentat

    Strikes me as a basically sound idea and it would be lovely if someone picked up the ball.

  • SQLite Internals: Pages and B-trees
    11 projects | news.ycombinator.com | 27 Jul 2022
    mentat was archived by mozilla back in 2017, but there are a bunch of forks. Because github is dumb and has a terrible interface for exploring forks [0], I used the Active GitHub Forks tool [1] that helped to find:

    qpdb/mentat [2] seems to be the largest (+131 commits) and most recently modified (May this year) fork of mozilla/mentat.

    [0]: https://github.com/mozilla/mentat/network/members - Seriously, how am I supposed to use this? Hundreds of entries, but no counts for stars, contributors, or commits, no details about recent commits. Just click every one?

    [1]: https://techgaun.github.io/active-forks/index.html

    [2]: https://github.com/qpdb/mentat

  • Call for Help - Open Source Datom/EAV/Fact database in Rust.
    8 projects | /r/rust | 1 Apr 2022
    There are plenty of open source Datomic Inspired databases. Check out https://github.com/juji-io/datalevin and scroll down all the way down to “Alternatives”. There was even the beginning of a rust one by Mozilla: https://github.com/mozilla/mentat
  • Emacs team considering including SQLite
    7 projects | /r/emacs | 22 Dec 2021
    I think you might be slightly misreading things, from what you quoted it’s about the query language (sql vs Datalog) not the database engine, that would likely be SQLite in any case. Now whether grafting a Datalog query engine onto SQLite is a good idea is a different question (though it’s been done, eg https://github.com/mozilla/mentat), but we should all at least talk about the same thing :)
  • I Made the Exact Same App with Firebase,AWS Amplify,RxDB,PouchDB,WatermelonDB
    4 projects | news.ycombinator.com | 25 Oct 2021
    You might be interested in the now defunct Mentat project from Mozilla. They made an EAV store with syncing on top of sqlite. It ran datalog queries by translating them into sql.

    https://github.com/mozilla/mentat

What are some alternatives?

When comparing cozo and mentat you can also consider the following projects:

slashbase - In-browser database IDE for dev/data workflows. Supports PostgreSQL & MongoDB.

datalevin - A simple, fast and versatile Datalog database

souffle - Soufflé is a variant of Datalog for tool designers crafting analyses in Horn clauses. Soufflé synthesizes a native parallel C++ program from a logic specification.

SQLite - Official Git mirror of the SQLite source tree

abcl - Armed Bear Common Lisp <git+https://github.com/armedbear/abcl/> <--> <svn+https://abcl.org/svn> Bridge

active-forks - Find active github forks of a repo https://git.io/vSnrC

TCLisp - Truffle Common Lisp

client-side-databases - An implementation of the exact same app in Firestore, AWS Datastore, PouchDB, RxDB and WatermelonDB

QuestDB - An open source time-series database for fast ingest and SQL queries

crepe - Datalog compiler embedded in Rust as a procedural macro

asami - A flexible graph store, written in Clojure

lovefield - Lovefield is a relational database for web apps. Written in JavaScript, works cross-browser. Provides SQL-like APIs that are fast, safe, and easy to use.