PostgreSQL · MySQL · SQL Server
Browse desktop documentation

Generate synthetic test data for SQL databases

Generate synthetic test data for SQL databases when a development feature needs more than an empty table. Configure values, ranges and relationships, then inspect a preview before inserting records.

Choose your trial
On this page

01 / FEATURES

Start with the column’s role

Generate Data suggests value types from names and database types, then lets you override them. Choose generated values, a fixed value, a pattern or values from another table. Identity and generated columns follow the table’s definition.

02 / FEATURES

Build a dataset around the test.

Configure values and relationships, then preview the generated records.

03 / FEATURES

Define useful variation

Integer and decimal ranges, decimal precision up to six places and inclusive date ranges let you shape the fixture. Allowed enum values and type warnings help keep choices appropriate. Include the boundary cases your feature depends on instead of generating only typical records.

04 / FEATURES

Give child rows valid parents

Foreign keys can use existing parents, one chosen parent, null where allowed or a small generated parent set when appropriate. Decide which relationship pattern the test needs, then verify that the resulting application view can follow those references.

05 / FEATURES

Preview before inserting

A preview shows up to 50 rows. One apply operation inserts between 1 and 10,000 rows. Production or High protection adds a typed table confirmation. Keep the first run small enough that you can inspect the result and identify a bad assumption quickly.

06 / FEATURES

Reuse the setup with review

Save a setup for another database of the same engine. Recheck it when columns, constraints or business rules change. Plausible values are not proof of uniqueness or application validity. Generate Data creates synthetic records; Data Masking transforms values selected for a copy.

Questions & answers

Can it guarantee valid application data?

No. Database constraints and application rules still need validation. A generated pattern can look sensible while violating a unique constraint or a business requirement.

How large can one operation be?

Generate 1 to 10,000 inserted rows per operation and preview up to 50 rows. Start with a representative fixture when evaluating the workflow.

Workflow illustration

GENERATE DATAColumn rulesidSequenceemailEmail valuesstatusAllowed valuesGenerated sampleID / EMAIL1[email protected]2[email protected]3[email protected]4[email protected]5[email protected]Build a dataset around the test case. Example values are fictional.