Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    D

    Datomic Blog

    blog.datomic.com · Company blog · on HN since 2012

    The Datomic team at Cognitect writes about the Datomic database, covering schema design, features, cloud offerings and licensing.

    Visit blogHN submissions
    DatabasesProgramming
    What HN says

    HN commenters cite it on schema growth, and note that Datomic is now free. Some see immutable databases as overlooked.

    Stats for nerds
    49HN people shared it
    46linked in comments
    1.7Kstory points
    Jan 2026last shared
    2012people per year2026

    Top posts on HN

    1. 1
      Codeq
      11 people · 344 points · first shared 2012 · 52 comments on HN
    2. 2
      Datomic Cloud
      2 people · 273 points · first shared 2018 · 106 comments on HN
    3. 3
      Datomic Is Now Free
      6 people · 175 points · first shared 2023 · 45 comments on HN
    4. 4
      Datomic Update: Client API, Unlimited Peers, Enterprise Edition, and More
      1 person · 147 points · first shared 2016 · 66 comments on HN
    5. 5
      Datomic Free Edition
      1 person · 132 points · first shared 2012 · 78 comments on HN
    6. 6
      Datomic Pro Starter Edition
      1 person · 111 points · first shared 2013 · 57 comments on HN
    7. 7
      Fixing Bad Data in Datomic
      1 person · 103 points · first shared 2014 · 16 comments on HN
    8. 8
      Datomic Console
      1 person · 71 points · first shared 2013 · 10 comments on HN
    9. 9
      Datomic 2013 Recap
      1 person · 70 points · first shared 2014 · 6 comments on HN
    10. 10
      Excision in Datomic
      4 people · 69 points · first shared 2013 · 39 comments on HN

    What HN people wrote when they linked it

    • brandonbloomFeb 2015

      > I'm curious to know what the actual data structure is.

      This tweet from Rich provides the missing puzzle pieces:

      "The log is not a btree - used for durability, not query. Separate indexes combine memory with batch-updated storage."
      https://twitter.com/richhickey/status/420910382538948608

      Restating in my own words:

      The transaction log is essentially just a stream of asserts and retracts with metadata. That's used for durability first and echoed to clients/peers and the indexing engine. The indexing engine asynchronously batch updates indexes (which probably are b-trees, but have no need to be streaming append-only style in this context). The peers query a joined dataset of the latest consistent indexes plus the set of unindexed transactions.

      > As append-only B tree is persistent.

      You're right, it can be. However, the popular append-only b-tree systems (such as CouchDB) are actually append-only B+-tree systems. That "+" means the leaves of the tree are intrusively linked together, and so are not persistent. You can not "fork" such trees cheaply.

      > losing information is a specific feature that was added to git

      http://blog.datomic.com/2013/05/excision.html

    • taliesinbNov 2012

      Yeah, it kinda sucks -- mostly one learns to create new copies of definitions/code when doing substantial changes, which the notebook interface makes quite convenient. Or use a full blown editor like Eclipse.

      The holy grail as I see it would be storing the entire edit history of the document as a git-like tree of modifications, which is entirely possible because Mathematica notebooks are themselves built out of Mathematica expressions (see for example Cell http://reference.wolfram.com/mathematica/ref/Cell.html). This would be similar to Rich Hickey's work on language-aware version control (http://blog.datomic.com/2012/10/codeq.html)

    • sgroveNov 2013

      Wow, very cool indeed. We worked on an open-source community[1] tool using Datomic/Codeq[2], and the ops portion was/has been pretty unpleasant. I'd love to see Datomic-as-a-Service popup, even as a only-meant-for-starter-projects, just so that experimenting with it could be that much easier. That might be possible with the new license, depending on how the Cognitect team sees it.

      [1] The service is a frontend to Codeq, having imported many Clojure repos: http://www.jidaexplorer.com/

      [2] http://blog.datomic.com/2012/10/codeq.html

      EDIT: Added links.

    • kjqgqkejbfefnFeb 2024

      https://blog.datomic.com/2012/10/codeq.html

      >codeq ( 'co-deck') is a little application that imports your Git repositories into a Datomic database, then performs language-aware analysis on them, extending the Git model down from the file to the code quantum (codeq) level, and up across repos. By doing so, codeq allows you to:

      >Track change at the program unit level (e.g. function and method definitions)

      >Query your programs and libraries declaratively, with the same cognitive units and names you use while programming

      >Query across repos

    • juliangambleApr 2016

      Rich Hickey's (of Clojure fame) Datomic database uses Datalog as its query language.

      http://docs.datomic.com/query.html

      http://blog.datomic.com/2015/01/datalog-enhancements.html

      Nathan Marz's (of Twitter startup fame) Cascalog library (also implemented in Clojure) uses Datalog as its query engine to generate Hadoop jobs.

      http://alexrobbins.github.io/cascalog-intro/#/step-14

      http://clojure.com/blog/2012/02/03/functional-relational-programming-with-cascalog.html

    • bedersJan 2026

      While the author mentions that he just doesn't have the time to look at all the databases, none of the reviews of the last few years mention immutable and/or bi-temporal databases.

      Which looks more like a blind spot to me honestly. This category of databases is just fantastic for industries like fintech.

      Two candidates are sticking out.
      https://xtdb.com/blog/launching-xtdb-v2 (2025)
      https://blog.datomic.com/2023/04/datomic-is-free.html (2023)

    Related

    Cognitect Blogblog.cognitect.com120 people

    Nubank acquires Cognitect

    Cognitect Blog
    Company · last shared 2026
    Alex Millerinsideclojure.org19 people

    Clojure 1.11 planning

    Alex Miller
    Personal · last shared 2024
    Clojure Blogclojure.com31 people

    Rich Hickey: Reducers - A Library And Model For Collection Processing

    Clojure Blog
    Company · last shared 2018
    Nubank Building Blogbuilding.nubank.com.br20 people

    We killed our end-to-end test suite

    Nubank Building Blog
    Company · last shared 2025
    Uber Engineering Blogeng.uber.com525 people

    Why Uber Engineering Switched from Postgres to MySQL

    Uber Engineering Blog
    Company · last shared 2025
    Timescale Blogblog.timescale.com95 people

    How percentile approximation works and why it's more useful than averages

    Timescale Blog
    Company · last shared 2022
    Cloudera Blogblog.cloudera.com86 people

    Cloudera taken private for $5.3B, acquires Datacoral and Cazena

    Cloudera Blog
    Company · last shared 2023
    Microsoft Blogblogs.microsoft.com669 people

    Announcing SQL Server on Linux

    Microsoft Blog
    Company · last shared 2026