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

    DoltHub Blog

    dolthub.com · Company blog · on HN since 2019

    The team behind Dolt, a version-controlled SQL database, writes about database internals, Go performance and testing.

    Visit blogHN submissions
    DatabasesProgrammingSystems & Performance
    What HN says

    Commenters link it as Dolt's home, a Git-like database for data; one found it slow and complicated, while another points to its Go hash table work.

    Stats for nerds
    132HN people shared it
    268linked in comments
    5Kstory points
    Aug 2026last shared
    2019people per year2026

    Top posts on HN

    1. 1
      Health insurers just published close to a trillion hospital prices
      2 people · 901 points · first shared 2022 · 524 comments on HN
    2. 2
      I analyzed hospital price lists so you didn't have to
      1 person · 592 points · first shared 2022 · 391 comments on HN
    3. 3
      Dolt is Git for data
      3 people · 358 points · first shared 2020 · 191 comments on HN
    4. 4
      The 4-chan Go programmer
      3 people · 292 points · first shared 2024 · 172 comments on HN
    5. 5
      People Keep Inventing Prolly Trees
      2 people · 194 points · first shared 2025 · 44 comments on HN
    6. 6
      Go: Sentinel errors and errors.Is() slow your code down by 3000%
      1 person · 183 points · first shared 2024 · 158 comments on HN
    7. 7
      Anatomy of a SQL Engine
      1 person · 168 points · first shared 2025 · 16 comments on HN
    8. 8
      Three ways to think about Go channels
      1 person · 162 points · first shared 2024 · 137 comments on HN
    9. 9
      US Presidential Election $25k Database Bounty Review
      2 people · 145 points · first shared 2021 · 36 comments on HN
    10. 10
      Electron vs. Tauri
      2 people · 139 points · first shared 2025 · 81 comments on HN

    What HN people wrote when they linked it

    • derefrMar 2024

      That assumes your database cells aren't themselves revision-controlled (e.g. Dolt: https://www.dolthub.com/)

      But also, this is the same argument people generally give against using DB stored procedures. And, despite using sprocs often myself, I generally agree with them — the tooling around sprocs really sucks. Sprocs are "DB objects as state" (like rows in a table are state); but they could be a lot more than that.

      My secret dream, as an infrastructure engineer and DBA, is that, on boot, each version of each application that uses an RDBMS could "register" or "zero-install" a client schema with said RDBMS — i.e. a namespace of persistent virtual DB objects, unique to that build of that application — but where the underlying physical DB objects are not necessarily unique, instead being shared as needed between builds and even between applications. (Think: what would happen if you put the Plan9 designers in charge of the evolution of the SQL standard.)

      Such a "client schema" would specify, among other things, the full source code of any sprocs the application expects to be able to call. These would be able to be internally deduplicated — e.g. registered by content-hash into an sproc store on the DB (compare/contrast: Redis EVALSHA), and then "symbolically linked" to a particular name in the client schema.

      Ideally, in applications that use client schemas, every SQL query that's a static literal at app build time, would be compiled into a boot-time registration of, and…

    • aboodmanJul 2022

      > Somebody always wants to undelete something
      > or examine it to see why it was deleted
      > or see who changed something, or blah blah blah

      People for whom this resonates should look into Dolt: https://dolthub.com/.

      It's a mysql-compat database that is versioned and forkable - basically imagine git and mysql had a baby. Every transaction creates an entry in the commit log that lets you see when, how, and why the database changed. And just like git you can `dolt checkout <hash>` to see what the data was like at some point in time, or `dolt checkout -b temp-branch <hash>` to make exploratory changes to some historical version, or `dolt revert` to revert a transaction... etc.

      There is a lot more power that comes with making the entire database versioned and forkable by default. For example it makes it much easier to recover from catastrophic bad code pushes, etc.

      note: Dolt was forked from Noms, my previous project, but I don't work for Dolt or have a stake. Just a fan.

    • sl-doltApr 2023

      > I'd love to see what this map looks like filtered for specific services.

      Sure. I did something like that with our insurance data. Did a quick folium visualization. You can start from here:

      https://www.dolthub.com/repositories/dolthub/hospital-prices-allpayers/doc/main

      A limitation of our dataset is it excludes percentage-based contracts. So those won't show up.

      Anyways, if you have the hospital NPI you want, you can look up all of its dollar-amount negotiated rates in this table. You can link that to the `hospital` table, geocode however you want, and make a map of the different rates. Note, however, that the insurance data published here is kind of a mess and, I think, contains many many mistakes (originating in the source data.)

      BTW, I'm not sure if this insurance-derived hospital data exists anywhere else. I believe it doesn't.

    • emmanueloga_Dec 2020

      There's a trend of versioned databases that could address these issues. I've seen at least Dolt [1] for relational:

      "Dolt is a data format and a database. The Dolt database provides a command line interface and a MySQL compatible Server for reading and writing data."

      ... and TerminusDB [2] for graphs:

      "TerminusDB is an open-source knowledge graph database that provides reliable, private & efficient revision control & collaboration."

      I don't know if Dolt supports stored procedures, but in any case versioning a database would be an amazingly powerful and convenient thing, if it can be done without sacrificing too much DB performance.

      Worth investigating and has the potential of changing the way we write apps.

      --

      1: https://www.dolthub.com/docs/tutorials/installation/

      2: https://terminusdb.com/

    • HydrochargedNov 2023

      I just learned of Neon a few weeks ago. From the looks of it, Neon supports branching, but it doesn't support merging. Xata supports both branching and merging, however it only applies to the schema.

      Dolt (and eventually DoltgreSQL) handles everything. Branching, merging, diffing, cherry-picking, commits, and more. Working with both the schema and data. On top of that, we also have DoltHub (https://www.dolthub.com/) that's analogous to GitHub, and DoltLab (https://www.dolthub.com/#doltlab) that's analogous to GitLab. We are targeting the entire ecosystem from the bottom up.

    • zachmuJan 2024

      Our implementation of the Merkle DAG data structure is optimized for tabular data since Dolt is a SQL database, but a lot of it generalizes to other kinds of data. For example, we put a lot of work into making sure that chunk sizes had a predictable distribution, since very large chunks kill query performance:

      https://www.dolthub.com/blog/2022-06-27-prolly-chunker/

      We also have a lot of work to do with preserving structural sharing across schema changes, which we're not great at yet.

      https://www.dolthub.com/blog/2024-01-19-structural-sharing-with-schema-changes/

    Related

    Datomic Blogblog.datomic.com49 people

    Codeq

    Datomic Blog
    Company · last shared 2026
    VictoriaMetrics Blogvictoriametrics.com37 people

    Graceful Shutdown in Go: Practical Patterns

    VictoriaMetrics Blog
    Company · last shared 2026
    Jeremy Bowersjerf.org78 people

    Functors and Monads for People Who Have Read Too Many “Tutorials”

    Jeremy Bowers
    Personal · last shared 2026
    Ben Boyterboyter.org47 people

    Fix it, Fork it, Fuck off (2019)

    Ben Boyter
    Personal · last shared 2026
    Small Datumsmalldatum.blogspot.com63 people

    The original LSM paper

    Small Datum
    Personal · last shared 2026
    Uber Engineering Blogeng.uber.com525 people

    Why Uber Engineering Switched from Postgres to MySQL

    Uber Engineering Blog
    Company · last shared 2025
    jOOQ Blogblog.jooq.org126 people

    Say no to Venn diagrams when explaining SQL joins (2016)

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

    Building a DOOM-like multiplayer shooter in pure SQL

    CedarDB Blog
    Company · last shared 2026