← Back to Blog
· Ivan Chepurnyi · 1 min read

mysql-to-jsonl: Exporting 1 Million Products 2× Faster Than mysqldump

Concurrency fixes in EcomDev/mysql-to-jsonl cut 1M-product exports to 24 seconds (2× faster than mysqldump) and imports to 4m40s (3× faster than the standard MySQL client).

MySQLPerformanceOpen SourcePHP

After receiving the first feedback on mysql-to-jsonl and testing it under higher concurrency, I found that some operations locked table metadata when run concurrently.

With that fixed, the new release delivers:

  • 2× faster exports than mysqldump on a 1-million-product dataset (24 seconds vs. 42 seconds).
  • 3× faster imports than the standard MySQL CLI client, loading the entire dataset back in 4 minutes and 40 seconds.

It will be interesting to see what happens when porting it to Rust: whether it gets noticeably faster or hits MySQL's own storage engine ceiling.

Explore the tool on Open Source or GitHub.

Dealing with a similar bottleneck in production?

Reach out directly to Ivan Chepurnyi for a performance audit, indexer redesign, or second opinion.

Get in Touch