frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DDL to Data – Generate realistic test data from SQL schemas

52•ddltodata•1d ago
I built DDL to Data after repeatedly pushing back on "just use production data and mask it" requests. Teams needed populated databases for testing, but pulling prod meant security reviews, PII scrubbing, and DevOps tickets. Hand-written seed scripts were the alternative slow, fragile, and out of sync the moment schemas changed.

Paste your CREATE TABLE statements, get realistic test data back. It parses your schema, preserves foreign key relationships, and generates data that looks real, emails look like emails, timestamps are reasonable, uniqueness constraints are honored.

No setup, no config. Works with PostgreSQL and MySQL.

https://ddltodata.com

Would love feedback from anyone who deals with test data or staging environments. What's missing?

Comments

ForHackernews•1d ago
This is a great idea. I've thought about doing something similar! On the other hand, I'm not sure it's a business. Is this using AI?

The pricing seems extremely high for what's basically a call to https://github.com/faker-ruby/faker but that makes sense if it has to pay for OpenAI tokens.

(who knows though, plenty of B2B deals signed for sillier things than this - good luck, OP)

ddltodata•1d ago
Thanks! To clarify, the core engine isn't AI. It's deterministic pattern matching, so it runs in milliseconds with no token costs. There's an optional "Story Mode" that uses AI for narrative-coherent data (like "a churning SaaS with seasonal trends"), but the base product is just schema parsing + smart type inference.

The difference from Faker: you don't write any code. Paste your CREATE TABLE, get data back. Faker is a library you have to integrate, configure field-by-field, and maintain as your schema changes. Different use case — more like "I need a seeded database in 30 seconds" vs "I'm building a test suite."

Fair point on pricing though, still figuring that out. Appreciate the feedback.

Omnipresent•1d ago
how is this compared to https://shadowtraffic.io/
ddltodata•1d ago
Different focus, ShadowTraffic is config-driven and optimized for streaming/Kafka workloads. We're schema-driven: point us at your DDL and we generate relational test data automatically. Less config, more just give me test data that fits my tables.
james_marks•1d ago
Congrats on being launchable!

I've written seed data scripts a number of times, so I get the need. How do you think about creating larger amounts of data?

E.g., I'm building a statistical product where the seed data needs to be 1M rows; performance differences between implementations start to matter.

ddltodata•1d ago
Thanks! At 1M rows, I think a few things matter:

Streaming: Can't hold it all in memory. Generate in chunks, write, release, repeat.

Format choice: Parquet with row groups is fast and compresses well. SQL needs batched inserts (~1000/statement). Direct DB writes via COPY skip serialization entirely is usually fastest.

FK relationships: The real bottleneck. Pre-generate parent PKs, hold in memory, reference for children. Gets tricky with complex graphs at scale.

Parallelization: Row generation is embarrassingly parallel, but writes are serial. Chunk-then-merge is on our radar but not shipped yet.

What does your stat product need, realistic distributions or pure volume/stress testing?

rrr_oh_man•1d ago
Why does this read like AI slop?
ddltodata•3h ago
because it is, but its still true lol
fcoury•1d ago
A while ago I worked on a similar idea, it was back when I was learning Rust so not super proud of the code, but I love the name of the tool: https://github.com/gistia/joindoe
bdcravens•1d ago
I appreciate this product existing, but the row limits in each tier seem very constrained.
ddltodata•1d ago
Thanks for the feedback! Honestly, we're still dialing in the tiers, what row limits would feel reasonable to you for your use case? Always helpful to hear what people actually need.
bdcravens•1d ago
To be honest, I think 1M rows is starting point for any paid plan. Any data model of minimal complexity explodes fast, especially with cascading one-to-many relationships. If anything, it may make more sense to have a table-level, rather than a global, limit. Or put the limit on "trunk" tables.
ddltodata•1d ago
That is a really good point one-to-many relationships blow up fast. The trunk table idea is interesting, would simplify how people reason about limits. Appreciate the feedback, genuinely helpful!
ljm•1d ago
Reminds me a bit of Snaplet before it embarked on its incredible journey to get acquired by Supabase and shut down.

I like the concept but the painpoint has never been around creating realistic looking emails and such like, but creating data that is realistic in terms of the business domain and in terms of volume.

ddltodata•1d ago
Appreciate the Snaplet comparison, they were doing good work. You're right that realistic looking strings are the easy part. We're focused on relational integrity first (FKs, constraints, realistic cardinality), but business domain logic is the next layer. What kinds of rules would be useful for you? Things like weighted distributions, time-based patterns, conditional relationships?
ljm•1d ago
The realistic cardinality is actually a good start (the problem with things like using Faker for DB seeds being that everything is entirely too random).

If one were be able to use metrics as source then, depending on the quality of the metrics, it might be possible to distribute data in a manner similar to what's observed in production? You know, some users that are far more active than others, for example. Considering a major issue with testing is that you can't accurately benchmark changes or migrations based on a staging environment that is 1% the size of your prod one, that would be a huge win I think even if the data is, for the most part, nonsensical. As long as referential integrity is intact the specifics matter less.

Domain specific stuff is harder to describe I think. For example, in my setup I'd want seeds of valid train journeys over multiple legs. There's a lot of detail in that where the shortcut is basically to try and source it from prod in some way.

ddltodata•1d ago
This is useful. What if you ran a CLI locally that extracts just the statistical profile from prod cardinality, relationship ratios, etc. and uploaded that? We'd never touch your database, you just hand us the metrics and we match the shape.
ljm•1d ago
I'd be willing to try that out :) a CLI would be great, even as a sandbox tool
ddltodata•1d ago
Really appreciate the input. I'll make sure to give you early access once we implement this, I'll keep you posted.
pistoriusp•1d ago
Hey! Snaplet founder here. Want to clarify that it was not acquired by Supabase; I shutdown the startup and found roles for some of the team at Supabase.

The code remains:

- https://github.com/supabase-community/seed - https://github.com/supabase-community/copycat - https://github.com/supabase-community/snapshot

This looks like a great project, wishing them all the best on the journey.

ddltodata•19h ago
Thanks!! means a lot coming from you. Best of luck at Supabase.
pistoriusp•13h ago
Thanks, but I am not at Supabase! I ended up going back to building RedwoodJS and took over the project, and now have a consultancy.
dmarwicke•1d ago
does it handle skewed distributions? faker's always been useless for this - like, your test data ends up with everyone having 5 orders when real data is all long tail
ddltodata•1d ago
Not yet, but you're the second person in this thread to call out distribution control as a gap. It's on our radar now. Thanks for the feedback.
NDizzle•1d ago
SQL Server support would certainly help you sell enterprise plans.
ddltodata•1d ago
Noted, we've been focused on Postgres first but SQL Server keeps coming up. Appreciate the feedback.
Antitoxic6185•16h ago
I have something that gives you the data in CSV/SQL insert statements.

I also provide an option to select how to generate data for specific fields.

https://fakemydb.alles-tools.com

UI is a bit clunky - will revamp it :)

ddltodata•3h ago
Great minds think alike!

Sugar industry influenced researchers and blamed fat for CVD (2016)

https://www.ucsf.edu/news/2016/09/404081/sugar-papers-reveal-industry-role-shifting-national-hear...
441•aldarion•5h ago•285 comments

NPM to implement staged publishing after turbulent shift off classic tokens

https://socket.dev/blog/npm-to-implement-staged-publishing
55•feross•1h ago•4 comments

Shipmap.org

https://www.shipmap.org/
286•surprisetalk•5h ago•47 comments

LaTeX Coffee Stains [pdf] (2021)

https://ctan.math.illinois.edu/graphics/pgf/contrib/coffeestains/coffeestains-en.pdf
227•zahrevsky•5h ago•45 comments

Health care data breach affects over 600k patients, Illinois agency says

https://www.nprillinois.org/illinois/2026-01-06/health-care-data-breach-affects-600-000-patients-...
87•toomuchtodo•3h ago•37 comments

Eat Real Food

https://realfood.gov
107•atestu•2h ago•234 comments

Creators of Tailwind laid off 75% of their engineering team

https://github.com/tailwindlabs/tailwindcss.com/pull/2388
595•kevlened•4h ago•363 comments

A4 Paper Stories

https://susam.net/a4-paper-stories.html
244•blenderob•7h ago•116 comments

Native Amiga Filesystems on macOS / Linux / Windows with FUSE

https://github.com/reinauer/amifuse
28•doener•4d ago•0 comments

A tab hoarder's journey to sanity

https://twitter.com/borisandcrispin/status/2008709479068794989
52•borisandcrispin•2h ago•50 comments

Many hells of WebDAV

https://candid.dev/blog/many-hells-of-webdav
78•candiddevmike•4h ago•50 comments

Meditation as Wakeful Relaxation: Unclenching Smooth Muscle

https://psychotechnology.substack.com/p/meditation-as-wakeful-relaxation
103•surprisetalk•5h ago•67 comments

US will ban Wall Street investors from buying single-family homes

https://www.reuters.com/world/us/us-will-ban-large-institutional-investors-buying-single-family-h...
146•kpw94•1h ago•120 comments

The Case for Nushell (2023)

https://www.sophiajt.com/case-for-nushell/
52•ravenical•4h ago•32 comments

Building voice agents with Nvidia open models

https://www.daily.co/blog/building-voice-agents-with-nvidia-open-models/
37•kwindla•4h ago•1 comments

The Target forensics lab (2024)

https://thehorizonsun.com/features/2024/04/11/the-target-forensics-lab/
56•jeromechoo•4h ago•88 comments

Show HN: I built a "Do not disturb" Device for my home office

https://apoorv.page/blogs/over-engineered-dnd
55•quacky_batak•4d ago•25 comments

BillG the Manager (2021)

https://hardcoresoftware.learningbyshipping.com/p/019-billg-the-manager
36•rbanffy•4h ago•15 comments

Polymarket refuses to pay bets that US would 'invade' Venezuela

https://www.ft.com/content/985ae542-1ab4-491e-8e6e-b30f6a3ab666
129•petethomas•17h ago•86 comments

Residues: Time, Change and Uncertainty in Software Architecture [video]

https://www.youtube.com/watch?v=D8qQUHrksrE
4•zdw•4d ago•0 comments

How Google got its groove back and edged ahead of OpenAI

https://www.wsj.com/tech/ai/google-ai-openai-gemini-chatgpt-b766e160
42•jbredeche•3h ago•34 comments

Optery (YC W22) Hiring a CISO and Web Scraping Engineers (Node) (US and Latam)

https://www.optery.com/careers/
1•beyondd•8h ago

Becoming a Centenarian

https://www.newyorker.com/magazine/2025/12/22/becoming-a-centenarian
39•mrjaeger•4d ago•3 comments

Show HN: Free and local browser tool for designing gear models for 3D printing

https://gears.dmtrkovalenko.dev
25•neogoose•11h ago•8 comments

Texas A&M bans part of Plato's Symposium

https://dailynous.com/2026/01/06/texas-am-bans-plato/
126•loughnane•2h ago•46 comments

Sergey Brin's Unretirement

https://www.inc.com/jessica-stillman/google-co-founder-sergey-brins-unretirement-is-a-lesson-for-...
350•iancmceachern•6d ago•417 comments

“Stop Designing Languages. Write Libraries Instead” (2016)

https://lbstanza.org/purpose_of_programming_languages.html
206•teleforce•7h ago•191 comments

Quake Brutalist Jam III

https://www.slipseer.com/index.php?resources/quake-brutalist-jam-iii.549/
151•Venn1•2d ago•21 comments

Dell's CES 2026 chat was the most pleasingly un-AI briefing I've had in 5 years

https://www.pcgamer.com/hardware/dells-ces-2026-chat-was-the-most-pleasingly-un-ai-briefing-ive-h...
113•mossTechnician•4h ago•65 comments

Opus 4.5 is not the normal AI agent experience that I have had thus far

https://burkeholland.github.io/posts/opus-4-5-change-everything/
785•tbassetto•1d ago•1184 comments