Dolt

active

by DoltHub · since 2019 · also known as DoltDB

MySQL-compatible SQL database you can branch, diff, merge and clone like a Git repository.

relationaldocumentdatabase engineopen source (permissive)growing

Overview

Dolt is a SQL database with Git semantics built in: every write lands in a commit graph, so you can branch, diff, merge, revert and push/pull tables between remotes using SQL procedures or a Git-like CLI. It speaks the MySQL wire protocol and dialect, stores data in prolly trees that make diffs and structural sharing cheap, and since 2.0 (2026) runs automatic garbage collection and compressed archive storage by default. DoltHub also offers DoltHub/DoltLab for collaboration, Hosted Dolt, and Doltgres, a PostgreSQL-flavored sibling. It fits data that needs review workflows and auditability, not raw OLTP throughput.

Strengths & trade-offs

Strengths

  • +Branch, diff and merge tables with cell-level conflict detection
  • +Query any past commit with AS OF for full audit history
  • +Drop-in MySQL client compatibility for tools and ORMs
  • +Push/pull/clone databases between remotes like Git
  • +Pull-request style data review on DoltHub

Trade-offs

  • −Slower and more storage-hungry than InnoDB for high-volume OLTP
  • −Some MySQL features and edge-case behaviors are still missing
  • −No horizontal scaling beyond read replicas
  • −Version history must be garbage-collected and managed

Great for

  • +Versioned reference and configuration data
  • +ML training data with reproducible snapshots
  • +Collaborative datasets with review workflows
  • +Testing schema/data migrations on branches
  • +Agent sandboxes that need safe branch-and-merge of data

Think twice for

  • −High-throughput transactional systems
  • −Large append-only event streams
  • −Analytics over billions of rows

Capabilities

Native or official first-party support · 13 of 25 tracked

✓Transactions
✓Joins
✓Secondary indexes
✓Geospatial
✓JSON
✓Change data capture
✓Triggers
✓Stored procedures
✓Durable persistence
✓Compression
✓Role-based access
✓Time travel
✓Branching
–Full-text search
–Vector search
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Encryption at rest
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
Read replicas
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Single node, Primary replica, Client server, Embedded
Query languages
SQL

Single primary with read replicas via remotes; storage history grows with every commit.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

available on · AWS · Google Cloud

Ecosystem

compatible withMySQL
apis & protocolsMySQL client/server protocol, Dolt CLI, Dolt SQL procedures (dolt_commit, dolt_merge)
client languagesGo, Python, Java, JavaScript, C#, Ruby, PHP

Alternatives to Dolt

Compare all→
MySQLRelational82.3

The web's default open-source SQL database, now on calendar versioning with 9.7 as the LTS line.

dolt vs mysql →
NeonRelational30.4

Serverless Postgres with copy-on-write branching and scale-to-zero, now part of Databricks.

dolt vs neon →
XataRelational7.4

Open-source Postgres platform with storage-level copy-on-write branching, scale-to-zero and anonymized clones.

dolt vs xata →
DoltgresRelational12.3

Version-controlled SQL database with PostgreSQL compatibility: branch, diff and merge your tables.

dolt vs doltgres →
PostgreSQLRelational93.2

The extensible, standards-first open-source relational database.

dolt vs postgresql →
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

dolt vs sqlite →

Dolt FAQ

What is Dolt?

Dolt is a relational database by DoltHub, first released in 2019. Dolt is a SQL database with Git semantics built in: every write lands in a commit graph, so you can branch, diff, merge, revert and push/pull tables between remotes using SQL procedures or a Git-like CLI. It speaks the MySQL wire protocol and dialect, stores data in prolly trees that make diffs and structural sharing cheap, and since 2.0 (2026) runs automatic garbage collection and compressed archive storage by default. DoltHub also offers DoltHub/DoltLab for collaboration, Hosted Dolt, and Doltgres, a PostgreSQL-flavored sibling. It fits data that needs review workflows and auditability, not raw OLTP throughput.

Is Dolt open source?

Yes. Dolt is open source. License: Apache License 2.0.

Does Dolt support ACID transactions?

Yes. Dolt supports full ACID transactions, with strong consistency.

Does Dolt scale horizontally?

Dolt does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB). It supports cross-region read replicas.

How can I run Dolt?

You can self-host it and use the vendor's managed cloud. Managed offerings include Hosted Dolt and DoltHub. It is available on AWS and Google Cloud.

What is Dolt best for?

Dolt is a strong fit for versioned reference and configuration data; ML training data with reproducible snapshots; and collaborative datasets with review workflows. Think twice for high-throughput transactional systems.

What are the best alternatives to Dolt?

Common alternatives to Dolt include MySQL, Neon, Xata, Doltgres and PostgreSQL. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is Dolt?

Dolt ranks #181 of 844 databases on the WhichDB Score (18.2/100), and #56 among relational databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.