DB Diff

Know when your data drifts

What It Does

Multi-Database

PostgreSQL, MySQL, and ClickHouse — compare within the same engine or across different ones. DSN auto-detection handles the routing for you.

Blazing Fast

MD5 checksums are computed inside the database engine, not in your app. Only aggregate hashes cross the wire, making it fast even for tables with millions of rows.

Pinpoint Precision

When chunk hashes mismatch, DB Diff drills down automatically — subdividing segments until it identifies exactly which rows differ.

How It Works

1

Connect

Point DB Diff at two databases with connection strings. Mix engines freely — MySQL to PostgreSQL, ClickHouse to MySQL, anything goes.

2

Compare

Tables are split into chunks by ID range. Each chunk is checksummed on both sides using SQL-native hashing — divide and conquer.

3

Report

Get the exact count and list of differing row IDs. Include or exclude columns to skip noise like timestamps.

Catch data drift before it catches you

One command. Any database. Every difference.

Get Started