Image 1 of 2: Bar chart against mydumper and myloader: dump, client CPU, zstd and CSV load times
A MySQL, MariaDB and TiDB dump and copy tool in OxCaml with its own protocol client, columnar batches, network transport and TiKV client: readers share one snapshot, an agent streams compressed batches to collectors that write files or load servers, and it masks data as it reads.
- 1.32 s vs 1.79 sDump to SQL vs mydumper
- 2.8× fasterThin link, 50 ms RTT
- 0.05 wordsAllocation per row
Trade-offs
- No client library: it speaks the MySQL protocol itself and decodes rows from the socket buffer straight into Arrow-layout columns.
- If the requested consistency can't be given, it refuses to start; a lossy conversion or a mask that would break a key stops the run before reading.
- Built on OxCaml, Jane Street's OCaml, so the compiler checks every thread for shared state, at the cost of a less common toolchain to build from source.
Q&A2
Each second the agent measures throughput, adds streams while the link is the bottleneck and moves zstd between levels; every frame is acknowledged, so a broken stream hands its frames to the others.
Fast code is checked against a simple model by property tests, each shown to fail on broken code, and integration tests cover MySQL 8.0 and 8.4 and MariaDB under concurrent writes, killed sessions and a full disk.
Reviews
Loading reviews
More in OCaml
More in MySQL
See all 8 →
PaganelData migration engine that verifies the destination down to the row
DataZenDesktop database workspace for developers and AI agents- FlydbVersioned database migrations with a local GUI, a CLI and agent hand-off
DeltaForgeChange Data Capture engine in Rust for MySQL and PostgreSQL
SyncleKeeps databases in sync across engines in real time, without Kafka
DuDuSelf-hosted support workspace that brings 15 messaging channels into one inbox
More in CLI tools
See all 74 →- ZeroboxDeny-by-default process sandbox with per-host secret injection
blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
jc-rsjc rewritten as one static binary that turns command output into JSON- pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
haxMinimalist terminal coding agent written in C
roam-codeLocal code index and checks that coding agents can query