Skip to content

Messy CSV, JSON and Parquet into your database — in one command

Data Magic Pump is built for the files that break everything else. Tens and hundreds of gigabytes of messy data in, clean tables ready for SQL out — on your own machines.

A family of tools for moving data into databases. PostgreSQL today; SQL Server, MySQL, Oracle and more coming.

Request a free trial See what DMP csv2pg does

Eight data problems — mixed encodings, stray bytes in text, broken and split rows, JSON inside CSV columns, an unknown delimiter, dates, numbers and NULLs written many ways, files of tens of gigabytes, thousands of files — go through DMP and come out as clean tables in PostgreSQL now, other databases coming soon

The problem it solves

Before

  • A 50 GB file of 340 million rows that almost every loader, open-source or paid, gives up on: it runs out of memory, stops dead at the first bad line, or crawls row by row for days.
  • A folder of hundreds of files and tens of gigabytes, each wanting its own script and its own hand-written table definition.
  • Odd and mixed encodings — sometimes more than one in the same file.
  • CSV that is not quite CSV: stray quotes, rows with too many or too few fields, rows broken in two.
  • JSON stuck inside CSV columns.
  • Stray characters and raw bytes where text should be.
  • Every delimiter going — comma, semicolon, tab, pipe — and nobody tells you which.
  • Dates, numbers and empty values written a dozen different ways, often in the same column.
  • And the small one: a 3 GB export that Excel will not even open (it stops at 1,048,576 rows).

After

  • They go in. The 340-million-row file, the hundreds of files, the broken rows, the odd encodings — all of it.
  • One command for the whole folder: databases, schemas and tables created and filled for you.
  • Most files need no settings at all. In our own tests on 67 real-world data sets, more than 80 % of tables went in untouched; for the rest the report says which setting to add.
  • Real types in the tables — dates as dates, numbers as numbers, empty as empty — so SQL, sorting and indexes simply work.
  • Fast. 47.4 GB in 374 tables in 33 min 51 s in all; a 10.3 GB file cleaned and loaded in 6 min 28 s; 340 million rows from one 50 GB file in a single run.
  • A short report of anything that needs a human eye — often there is nothing on it.

One command

dmp csv2pg --source="D:\exports" --host=db01 --port=5432 ^
    --user=loader --password=secret --database=postgres
dmp csv2pg --source="D:\exports" --host=db01 --port=5432 `
    --user=loader --password=secret --database=postgres
dmp csv2pg --source=/data/exports --host=db01 --port=5432 \
    --user=loader --password=secret --database=postgres

DMP csv2pg is the first tool in the DMP family, for the first database, PostgreSQL. That single run replaces a whole chain of tools, scripts and late nights: a folder of raw exports goes in, and clean tables you can query come out — hundreds of files at once. DMP stands head and shoulders above the usual import tools, and it was built for exactly the files they choke on.

Fast, and here is the proof

Measured

DMP uses every CPU core your edition allows and handles many files at once, so tens of gigabytes are an afternoon's work, not an overnight job — on a laptop. A 340-million-row file in one run; a folder of 374 tables and 47.4 GB in 34 minutes; 20,000 open-data files in under an hour.

See the use cases: every measurement, the data and the machines

Four kinds of job, one tool

  • The monster file


    One export, tens of gigabytes, hundreds of millions of rows. A 340-million-row taxi file went in, in one run.

    See the use cases

  • The 1–2 GB file, or thousands of small ones


    A monthly extract, or a whole open-data portal: some 20,000 files became tables in one command.

    See the use cases

  • Small, but filthy


    Five encodings in one folder, broken rows, JSON inside columns — loaded, with a plain-English note of anything that needs you.

    See the use cases

  • The small, regular CSV


    A daily extract or a reference table, refreshed on a schedule: right types every time, no script to maintain.

    See the use cases

Built for the files that break everything else

  • The files other tools refuse


    Exports from systems nobody remembers, files that have been through three spreadsheets and a mail server — DMP takes them as they come. The toughest cases are covered in Pro and above.

  • Data you can trust


    What lands in the database means what the source meant: clean, well-formed tables, ready for joins, filters and reports.

  • Nothing hidden from you


    Anything that needs a human decision is reported in plain English, with a hint on what to do next.

  • Right first time, your way when you want


    Most files go in with no settings at all, the rest with a setting or two — and you have the final say on any table or column whenever you want it.

What you get today

Available now

  • Many formats in


    CSV, JSON, JSON Lines and Parquet — plain or compressed.

  • Databases, schemas, tables — created


    The folder layout says where data goes. One run can fill several databases.

  • Tables ready for SQL


    Proper, usable columns rather than a wall of text, so your queries work from the first minute.

  • Huge files


    Multi-gigabyte files load in minutes, and files larger than memory are no problem.

  • Logs that explain


    A log for every database, schema and table, with plain-English hints wherever something needs your attention.

  • Safe to re-run


    One bad file does not stop the others. Change a setting and simply run again.

  • Windows — tested
  • Linux — on request
  • macOS — on request
  • PostgreSQL today, more databases coming
  • E-mail support, priority support in Enterprise

Coming next

Coming

DMP is a family of tools for moving data into databases. PostgreSQL is the first database it supports; next on the list:

  • More databases, including Microsoft SQL Server, MySQL, MariaDB, Oracle Database, SQLite, Snowflake and ClickHouse — see the full list.
  • Whole databases, many at once, built for slow and unreliable networks, with smart resume from wherever a copy stopped.

These are not available yet, and we do not announce dates. Read what is coming, or tell us what you need to move.

Editions

Pick an edition by what it unlocks, not by a row count:

  • Trial — see DMP read, type and clean a sample of your own files, free for 14 days.
  • Basic — clean CSV and TSV, the simple regular jobs: right types, no script to maintain.
  • Pro — adds JSON, JSON Lines and Parquet, repair of broken rows and mixed encodings, 8 cores and big files to about 10 GiB.
  • Pro+ — one huge single file with no practical size limit, for a migration or a year's dump that breaks everything else.
  • Enterprise — offline use, floating seats and priority support, for organisations.

The full feature table, prices and licence types are on the editions page.

Compare editions & prices

Try it on a sample of your own data. The trial loads a small sample; repair of damaged files is in Pro — ask and we will show it on your sample. Leave a request and we e-mail you one download link: the program for your operating system and a 14-day trial licence. The link works once, for 24 hours.

Request a free trial