How to generate millions of rows of synthetic data

By the Ground team

For millions of rows, use a language model to specify a schema and generation rules, then run a bulk generation engine. Generate parent tables before child tables and validate the final artifact, rather than asking a chatbot to print millions of rows.

Separate planning from generation

Write row counts, column types, distributions, key constraints and cross-table rules into a specification. Treat the specification as code: reject missing parents, impossible counts and contradictory constraints before execution.

Example request

Generate an e-commerce dataset with 100,000 customers, 1 million orders and 5 million order items. Orders must sum to their item amounts and every foreign key must reference an existing row.

Choose a storage format

Use Parquet for typed, compressed analytical data; CSV for broad interoperability; JSONL for independent records. Export in batches, avoid keeping all rows in memory, and measure actual generation throughput on a representative sample.

Verify before scaling

Generate a pilot, test referential integrity and aggregates, then scale only when the checks pass. For a 10-million-row target, confirm plan limits and export sizes before committing; this guide is not a measured Ground throughput claim.

Common questions

Can ChatGPT generate 10 million rows directly?

A chat response is not a practical bulk data export. Use a program or generation service and validate its output.

Try it with your own dataset

Get started, see pricing or use the API.

Review security and privacy when evaluating Ground for your team.

Related guides