Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Dolt: Version Control for SQL Databases Merges Git Workflows with Data Management

Better Stack 2 min read

A new open-source database called Dolt is blending the capabilities of SQL with Git-like version control, enabling developers to branch, commit, diff, and merge data tables as seamlessly as code. Developed by Better Stack, Dolt aims to solve the long-standing problem of data versioning, where managing changes to databases often relies on messy CSV files, JSON configs, or manual tracking.

Dolt operates as a fully functional MySQL-compatible SQL database, but with an underlying content-addressed storage system inspired by Git. Each table is stored in a Prolly Tree—a probabilistic data structure that allows efficient diff and merge operations without requiring a central server. Developers can dolt checkout to switch between branches, dolt commit to snapshot data, and dolt merge to combine changes from different branches, complete with conflict detection and resolution.

The tool addresses common pain points in data workflows, such as tracking who changed what and when, rolling back to a previous state after a mistake, and collaborating on datasets across teams. Unlike traditional database dumps or snapshot tools, Dolt maintains a full history of every row-level change, making it possible to query historical states and generate precise diffs between versions.

In a demo, the Better Stack team showed how Dolt can branch a database, apply schema changes and data updates in isolation, then merge those changes back—all while preserving a lineage of commits. The system also supports pull requests and rollback workflows, mirroring the collaboration patterns familiar from Git-based code reviews.

Under the hood, Dolt relies on Prolly Trees (a variant of Merkle Trees) to represent table data. This allows the database to compute row-level diffs quickly and to verify data integrity without recomputing entire hashes. The approach also enables selective cloning and partial fetches, similar to Git's shallow clones.

While Dolt is not intended as a replacement for high-transaction OLTP systems due to its versioning overhead, it shines in use cases like data analysis, machine learning dataset management, configuration storage, and any scenario where data history and collaboration matter more than raw throughput. The project is available under an Apache 2.0 license.

"Dolt brings Git semantics to SQL, making it easy to track, share, and collaborate on data without giving up the power of relational queries," said a Better Stack spokesperson.

As data becomes as critical as code in modern applications, Dolt represents a practical step toward treating data with the same rigor as software versioning.

React