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
    X

    XTDB Blog

    xtdb.com · Company blog · on HN since 2021

    The XTDB team writes about its open-source bitemporal database, covering time-travel SQL, event-driven systems, and why CRUD should be retired.

    Visit blogHN submissions
    DatabasesProgramming
    What HN says

    HN commenters bring it up in discussions of bitemporal and immutable databases, often alongside Datomic, and one calls these databases a blind spot in database reviews.

    Stats for nerds
    39HN people shared it
    22linked in comments
    123story points
    Apr 2026last shared
    2021people per year2026

    Top posts on HN

    1. 1
      Trucks, tubes and truth – event-driven systems
      2 people · 42 points · first shared 2022 · 8 comments on HN
    2. 2
      XTDB: The open database with temporal graph query
      24 people · 24 points · first shared 2021 · 1 comments on HN
    3. 3
      XTDB 2.x Early Access
      3 people · 14 points · first shared 2023 · 1 comments on HN
    4. 4
      Blockchain Without the Crypto
      3 people · 14 points · first shared 2021 · 1 comments on HN
    5. 5
      Why it's time to retire CRUD
      1 person · 9 points · first shared 2024 · 4 comments on HN
    6. 6
      XTDB (Crux) – Database for querying across time with bitemporal SQL and Datalog
      1 person · 5 points · first shared 2021 · 1 comments on HN
    7. 7
      Launching XTDB v2 – time-travel SQL database
      2 people · 4 points · first shared 2025 · 1 comments on HN
    8. 8
      The Case for a Bitemporal Database
      3 people · 3 points · first shared 2023 · 1 comments on HN
    9. 9
      Update Reconsidered, delivered?
      1 person · 2 points · first shared 2025 · Discussion on HN
    10. 10
      The missing SQL sub-queries
      1 person · 2 points · first shared 2024 · Discussion on HN

    What HN people wrote when they linked it

    • infogulchOct 2025

      Have you heard of XTDB / Bitemporality? The basic idea is to make time 2-dimensional, where each record has both a System Time range and a Valid Time range. Designed as a write-only db with full auditability for compliance purposes.

      With 2D time you can ask complex questions about what you knew when, with simpler questions automatically extended into a question about the current time. Like:

      "What is the price?" -> "What is the price today, as of today?" "What was the price in 2022" -> "What was the price in 2022, as of today?" "What was the price in 2022, as of 2023?" You probably don't want to just switch to XTDB, but if you pursue this idea I think you should look into 2D time as I think it is schematically the correct conceptualization for this problem.

      Docs: https://docs.xtdb.com/concepts/key-concepts.html#temporal-columns--bitemporality | 2025 Blog: https://xtdb.com/blog/diy-bitemporality-challenge | Visualization tool: https://docs.xtdb.com/concepts/key-concepts.html#temporal-columns--bitemporality

    • refsetAug 2023

      Hi, I am running a webinar on the concept of bitemporal data management next week, as in https://en.wikipedia.org/wiki/Bitemporal_modeling - please sign up up here if you are at all interested: https://attendee.gotowebinar.com/register/2960607012900067930?source=hacker-news

      I work on https://xtdb.com which is a novel database system that attempts to make bitemporal modeling more trivial (all data is bitemporal automatically!) - but this webinar is more generally about the concept, rather than our own work.

      I've spent the last 4 years getting to grips with bitemporality in all its shapes & guises, and am more convinced than ever that this fundamental concept of cleanly separating the-timeline-of-the-system from the-timeline-of-the-data deserves wider attention.

      There will be a Q&A discussion at the end of the webinar where it would be great to share stories and tips live, if you have any! And in the meantime I would be very glad to swap thoughts in the comments below. Thanks.

    • kaliszadDec 2021

      Does somebody have experience with XTDB https://xtdb.com/index.html ?
      We would like to use it in our Clojure application perhaps with PostgreSQL as the backend (JDBC) to make it easier to implement a history feature.

      Looking forward, instead of backward, it would be great for databases to have some kind of live-patch/ live-update feature so that one does not need any downtime at all if some rules are obeyed (with an automatic check, if that is the case). The same is for operating systems, where we have parts of the technology and even some limited deployment, but nothing of it is the default as far as I know. This situation makes it quite a bit harder to develop and maintain systems without introducing extreme complexity. It does not look like we will have less bugs/ less patches any time soon so we should make updating as easy as possible to drastically reduce the need for a maintenance window without resorting to building clusters for everything.

    • onetomJul 2023

      The - now free - Datomic (https://www.datomic.com) or the open source XTDB (https://www.xtdb.com) can provide instant access to your data at any point in time. Even to different points in time within a single query, without the concept of a "DB restore" operation.

      So if your main use-case of restoring a DB from the past is to run analytical queries on it, then you should probably consider these solutions instead.

      These systems rely on other databases to store their data, so they inherit the backup capabilities of those databases.

      Would be interesting to consider, if they could benefit from using SQLite as a backend instead of H2DB/DynamoDB/Postgres or RocksDB/LMDB/Xodus/JDBC.

    • blatant303Apr 2023

      Datomic is an event-sourced db, and it makes it hard to introduce retroactive corrections to the data when your program's semantic already rely on using datomic's time travelling abilities: at one point you'll need to to distinguish between event time and recording time as explained in this excellent blog post:

      https://vvvvalvalval.github.io/posts/2018-11-12-datomic-event-sourcing-without-the-hassle.html

      This is why I' rather use XTDB [1], a database similar to datomic in spirit, but with bitemporality baked in.

      [1] https://www.xtdb.com

    • cgioFeb 2022

      Can’t say what people are using but keen to hear from others. I am looking into this atm, no implementation yet, and some of the things I am reading about are (I’ll add dolt to this list)

      Xtdb: https://xtdb.com/

      Terminus: https://github.com/terminusdb/terminusdb

      Nessie: https://projectnessie.org/

      Dvc : https://dvc.org

      Liquid base: https://liquibase.org/

      Datasette: https://datasette.io/

      Still framing in my mind how schema evolution, x-temporal and e.g. scd in data modelling, version control etc. tie in together in an approach.

    Related

    Valentin Waeselynckvvvvalvalval.github.io29 people

    What makes a good REPL?

    Valentin Waeselynck
    Personal · last shared 2025
    Scattered Thoughtsscattered-thoughts.net186 people

    Against SQL

    Scattered Thoughts
    Personal · last shared 2026
    QuestDB Blogquestdb.io62 people

    The Billion Row Challenge (1BRC) – Step-by-Step from 71s to 1.7s

    QuestDB Blog
    Company · last shared 2026
    Feldera Blogfeldera.com21 people

    The Pain That Is GitHub Actions

    Feldera Blog
    Company · last shared 2026
    Timescale Blogblog.timescale.com95 people

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

    Timescale Blog
    Company · last shared 2022
    InfluxData Bloginfluxdata.com118 people

    Open source takes continued investment, and that must be subsidized somehow

    InfluxData Blog
    Company · last shared 2026
    CedarDB Blogcedardb.com45 people

    Building a DOOM-like multiplayer shooter in pure SQL

    CedarDB Blog
    Company · last shared 2026
    Rachel Krollrachelbythebay.com493 people

    fork() can fail

    Rachel Kroll
    Personal · last shared 2026