Use cases — real data, real runs¶
Measured
Every claim on this site comes from runs on real data. We keep a test bench of 67 public data sets — open-data portals, national statistics, data journalism, a business database export, AI training data — some 45,000 tables and hundreds of gigabytes of text, and run DMP against all of it again and again.
People bring three kinds of trouble to a data load — and some just want a small, regular job done right every time. Here they are, with the data sets that show each one, what happened, how long it took, and which edition the job needs. The red labels are the same problems as in the picture on the home page.
1. The monster file¶
Who you are. A data engineer or analyst who has been handed one export of tens of gigabytes and hundreds of millions of rows — a migration, a year of transactions, a public data dump — and asked to "just put it in the database".
What hurts. Excel stops at 1,048,576 rows. Desktop import wizards run out of memory. The database's own import stops dead at the first bad value, an hour in. Writing a loader that cuts the file into pieces and guesses the types is days of work.
What DMP does. Takes the file as it is — CSV, Parquet, JSON, compressed or not — works out the columns and their types, and loads it in one run, with a log of anything that needs your eye. Files far bigger than the machine's memory are no problem.
New York taxi trips: one file, 340 million rows¶
Files of tens of GB
- Data: New York yellow-taxi trip records
- Input: one Parquet file of 20.7 GB — 50.4 GB once written out as text
- Rows: 339,897,217, into one table
- Settings: one small settings file for this file
- Time: 2 h 15 min, raw file to loaded table
A business database export, plus open data¶
Files of tens of GB
- Data: an export of a 253-table business database, plus public-sector and library open data
- Input: 374 tables in 7 databases, 47.4 GB of CSV; the largest single file 10.3 GB
- Rows: about 124 million
- Settings: one settings file, for two date columns in one table
- Time: 33 min 51 s for the whole folder
In the same run a 2.9 GB, 7.8-million-line file went from raw file to loaded table in under 9 minutes. On its own, the 10.3 GB file goes from raw file to loaded table in 6 min 28 s.
Which edition
Pro+. The taxi file is a single 20.7 GB file — past Pro's roughly 10 GiB — and Pro+ takes a single file with no practical size limit. The 47.4 GB database export is many files, its largest 10.3 GB, so Pro takes every file in it; but its 124 million rows in one month are past Pro's fair-use volume, so as a monthly job it is Pro+ too. If the monster comes once rather than every week, ask about a time-limited licence for the project. Ask for an offer.
2. The 1–2 GB file, or thousands of small ones¶
Who you are. An analyst or BI team with the proverbial 1–2 GB extract every month — or the opposite: a folder of thousands of small files from a portal, a supplier or another department, each with its own columns.
What hurts. One script per file and one hand-written table definition per file. Every new file is a new surprise — another encoding, another layout. A 2 GB file is too big for a spreadsheet and too awkward for a quick script.
What DMP does. One command for the whole folder: the folder layout names the databases, schemas and tables, and DMP creates and fills them all, many files at a time on every CPU core your edition allows. What needs a human decision is listed at the end.
Ireland's open-data portal: 20,000 tables in one run¶
Thousands of files Mixed encodings
- Input: about 20,000 CSV and JSON files, 35 GB
- Rows: 332 million
- Encodings: 185 files not in UTF-8, in 8 different encodings
- Result: 19,999 tables created; 83 files listed for a human eye
- Settings: three small settings files for the whole portal
- Time: 53 min 4 s
New Zealand census: two files of nearly 1 GB each¶
Mixed encodings
- Input: 25 CSV files, 1.9 GB; the two largest 0.86 GB each
- Rows: 70 million
- Encodings: 7 files in Windows-1252 rather than UTF-8
- Result: all 25 tables loaded, nothing for a human to check
- Settings: one two-line settings file (shorten over-long column names)
- Time: 5 min 42 s
Which edition
Pro for the census, Pro+ for the whole Irish portal. Thousands of files, all formats, repair and 8 cores are Pro's home ground, and the largest single file here (under 1 GB) sits well inside Pro. Pro's monthly volume is fair use: past it, DMP loads what fits and lists the rest as skipped, and the portal's 332 million rows in one run are past it. The very largest recurring portals are an Enterprise conversation. Basic is for the simple, clean CSV and TSV jobs, without JSON, Parquet or repair. Ask which fits your data.
3. Small, but filthy¶
Who you are. Someone with files that nothing else will open properly: exports from old systems, survey downloads, files saved on a Mac years ago, text with JSON pasted into columns.
What hurts. Accented letters turn into rubbish. The import stops at line 48,213 with "extra data after last expected column". Columns named after a whole survey question do not fit the database's limit. You spend the afternoon fixing the file by hand, and next month it happens again.
What DMP does. Finds the encoding of each file, even when it is not the one the file claims; keeps the good rows when some are broken; turns dates, numbers and empty values into real types; and writes down, in plain English, everything it could not decide for you.
A data-journalism archive: five encodings in one folder¶
Mixed encodings Dates, numbers, NULLs
- Input: 439 small CSV files, 0.61 GB, 5.2 million rows
- Encodings: 17 files in 5 encodings: Mac Roman, Mac Central European, Windows-1252, ISO-8859-1 and IBM 852
- Result: 437 of 439 tables loaded; 2 listed for a human eye (a column of counts with text in it)
- Settings: two one-line settings files (shorten survey questions used as column names)
- Time: 1 min 58 s
Romania's open-data portal: dirt by the thousand¶
Unknown delimiter Broken and split rows Mixed encodings Dates, numbers, NULLs
- Input: 2,934 files, 44.8 GB, 274 million rows
- Delimiters: commas, semicolons, pipes and tabs, file by file, nobody saying which
- Encodings: 425 files in 11 different encodings
- Broken rows: 229 files that a strict reader rejects outright
- Result: 2,928 tables created, real date columns in 457 of them; 38 files listed for a human eye
- Time: 1 h 35 min
AI training data: JSON inside the columns¶
JSON inside CSV columns Stray bytes in text
A 24 GB collection of JSON, JSON Lines and Parquet files whose text columns hold whole conversations as JSON, with stray control characters in the middle. DMP found and removed the stray bytes, and a one-line setting repaired JSON written the wrong way. Files that hold images or deeply nested lists rather than tables were reported, not loaded. The whole collection took 12 min 27 s.
Which edition
Pro. Repair of damaged and unusual files starts in Pro (and is in Pro+ and Enterprise), and a folder like the data-journalism archive fits easily in Pro. The very largest dirty sets, such as the Romanian portal, are an Enterprise conversation on volume. Start with the free trial: it shows how DMP copes with a sample of your own worst files.
4. The small, regular CSV¶
Who you are. Someone with a small CSV job that comes round again and again: a daily or weekly extract, a reference table — rates, price lists, codes, a register — or a small feed from a partner, refreshed on a schedule.
What hurts. Not the size — the upkeep. A hand-written table definition that goes stale, an import script someone has to maintain, a date column that arrives as text, and the odd file saved in a Windows code page instead of UTF-8.
What DMP does. One command, from a script or a scheduler, as often as you like: the table is created with the right types and refilled, and each run starts clean, so today's file replaces yesterday's. Nothing to maintain but the folder.
A city's offence codes: a lookup table¶
Small, regular CSV
- Input: one CSV file, 35 KB, 299 rows
- Result: one table, numbers as numbers, nothing for a human to check
- Settings: none
- Time: 3 s for the whole run
A list of failed banks: dates and an old code page¶
Small, regular CSV Mixed encodings
- Input: one CSV file, 45 KB, 568 rows, in Windows-1250 rather than UTF-8
- Result: one table, the closing dates as real dates
- Settings: none
- Time: 3 s
A government register of public bodies¶
Small, regular CSV Mixed encodings
- Input: two CSV files, 126 KB, 863 rows, one of them in Windows-1252
- Result: two tables, nothing for a human to check
- Settings: none
- Time: 3 s
Which edition
Basic. Clean CSV and TSV, plain or compressed, with the right types and no script to maintain, on 2 CPU cores — each of the three jobs above is exactly Basic's kind of work. Basic stops where these cases stop: JSON or Parquet, a damaged file that needs repair, or a large file — for those, choose Pro. Try it first with the free trial on your own files.
How these numbers were measured¶
47.4 GB of real CSV, 374 tables, 7 databases
33 min 51 s for the whole run, from files to loaded tables
6 min 28 s to clean and load one 10.3 GB file
- Times are for the whole run, from raw files to loaded tables in PostgreSQL, with
cleansing on and all cores allowed (
--cores=0). - The 33 min 51 s run. DMP ran on a laptop: Intel Core i7-11850H (8 cores, 16 threads), 64 GB RAM, an NVMe SSD holding the source files, Windows 10 Pro, on a 1 Gbit/s wired network link. PostgreSQL 18.1 ran on a second computer on the same local network: Intel Core Ultra 9 285HX (24 cores), 128 GB RAM, an NVMe SSD, Windows 11 Pro, with default PostgreSQL settings.
- A second measurement. The same job — 374 tables, 47.4 GB — took 18 min 14 s (the median of 16 runs) with DMP on the 24-core computer and PostgreSQL 16.1 in Docker on a Linux server: Intel Xeon D-1527 (4 cores), 128 GB RAM, SSD RAID, a 10 Gbit/s network port.
- Speed depends on both machines, their disks and the network between them.
- Settings means the settings files present in the data set; all other files went in with none. Row counts are lines in the source files.
- The data is public data and our own test copies; no customer data was used.
What your times depend on. Three things: the machine DMP runs on (its CPU cores and disks), the database server (its CPU, disks and PostgreSQL settings) and the network between them. DMP uses every core it is allowed, so a more powerful machine, a faster database server and a faster network all load faster. The free trial shows how DMP copes with a sample of your own files on your own machines.
Which of the four is yours? Send a sample of your own data and see what DMP makes of it. Repair of damaged files is in Pro; ask and we will show it on your sample.