Lyrebird · Realistic synthetic test databases, generated fully offline

MySQL · Chinook

Invoice

Source rows
412
Synthetic rows
412
Broken foreign keys
0
Rows equal to a source row
0%

References: CustomerId → Customer

Rows

Both databases, first rows by primary key, in one table: scrolling sideways moves them together. Rows at the same position are unrelated, unless the table holds kept reference data. Long values are cut at 60 characters.

InvoiceId keyCustomerIdInvoiceDateBillingAddressBillingCityBillingStateBillingCountryBillingPostalCodeTotal
Source database · 12 of 412 rows
122021-01-01 00:00:00Theodor-Heuss-Straße 34StuttgartNULLGermany701741.98
242021-01-02 00:00:00Ullevålsveien 14OsloNULLNorway01713.96
382021-01-03 00:00:00Grétrystraat 63BrusselsNULLBelgium10005.94
4142021-01-06 00:00:008210 111 ST NWEdmontonABCanadaT6G 2C78.91
5232021-01-11 00:00:0069 Salem StreetBostonMAUSA211313.86
6372021-01-19 00:00:00Berger Straße 10FrankfurtNULLGermany603160.99
7382021-02-01 00:00:00Barbarossastraße 19BerlinNULLGermany107791.98
8402021-02-01 00:00:008, Rue HanovreParisNULLFrance750021.98
9422021-02-02 00:00:009, Place Louis BarthouBordeauxNULLFrance330003.96
10462021-02-03 00:00:003 Chatham StreetDublinDublinIrelandNULL5.94
11522021-02-06 00:00:00202 Hoxton StreetLondonNULLUnited KingdomN1 5LH8.91
1222021-02-11 00:00:00Theodor-Heuss-Straße 34StuttgartNULLGermany7017413.86
Synthetic database · 12 of 412 rows
1572025-07-26 03:00:57167 Bridge Parkside, Barton Hills, StuttgartStuttgartNULLGermany3921013.86
2192025-04-12 21:01:1061 King Central, Chorlton, OsloOsloNULLNorway997151.98
372023-10-01 17:09:45Calle del Prado, 142, Los Remedios, BrusselsBrusselsNULLBelgiumA0G 0R21.98
4322023-12-27 02:13:25107 rue Gambetta, Capitole, EdmontonEdmontonABCanada75-8913.96
5322024-03-07 14:40:00107 rue Gambetta, Capitole, BostonBostonMAUSA75-8915.94
6162023-01-12 07:00:05Schulstraße 6, Sachsenhausen, FrankfurtFrankfurtNULLGermany600121.98
7502024-03-02 23:33:58Gartenstraße 7, Kreuzberg, BerlinBerlinNULLGermany100135.94
8192021-06-23 20:04:328 rue Jean Jaurès, Montmartre, ParisParisNULLFrance750131.98
942025-08-23 09:25:519 rue Jean Jaurès, Caudéran, BordeauxBordeauxNULLFrance330128.91
10302021-10-09 13:38:2476 Church Oakwood, Lincoln Park, DublinDublinDublinIrelandL2R 3E613.86
11412022-03-18 16:50:2511 Park Parkside, Islington, LondonLondonNULLUnited Kingdom010055.94
12402022-01-31 11:35:3152 Queen Oakwood, Salford, StuttgartStuttgartNULLGermany20485-0903.96

Column by column

Each figure is computed from all rows of both databases in the same way. S is the source, Y the synthetic copy. Difference runs from 0 (same distribution) to 1 (no overlap): Kolmogorov-Smirnov for numbers and times, total variation for columns with few values. Personal columns are meant to differ, so they show how many values also appear in the source instead. Lyrebird draws names from built-in lists, not from the source, so common names can match.

Column Model read it as How it was generated Empty Distinct Range or length Most common Difference
InvoiceIdint record key New key values S 0%
Y 0%
S 412
Y 412
S 1 → 412
Y 1 → 412
S —
Y —
—
CustomerIdint record key Foreign key, from the measured relationship S 0%
Y 0%
S 59
Y 59
S 1 → 59
Y 1 → 59
S 2 1.7% · 4 1.7% · 8 1.7% · 14 1.7% · 23 1.7% · 37 1.7%
Y 57 1.7% · 7 1.7% · 32 1.7% · 16 1.7% · 50 1.7% · 4 1.7%
0.002 KS
InvoiceDatedatetime lifecycle timestamp Times from the measured distribution S 0%
Y 0%
S 354
Y 412
S 2021-01-01 00:00:00 → 2025-12-22 00:00:00
Y 2021-01-04 19:21:57 → 2025-12-21 22:37:56
S —
Y —
0.027 KS
BillingAddressvarchar(70) postal addresspersonal New text in the measured format S 0%
Y 0%
S 59
Y 395
S 17.9 chars avg
Y 37.9 chars avg
S Theodor-Heuss-Straße 34 1.7% · Ullevålsveien 14 1.7% · Grétrystraat 63 1.7% · 8210 111 ST NW 1.7% · 69 Salem Street 1.7% · Berger Straße 10 1.7%
Y —
0% in source
BillingCityvarchar(40) city Kept from the source as reference data S 0%
Y 0%
S 53
Y 53
S 7.8 chars avg
Y 7.8 chars avg
S Berlin 3.4% · Paris 3.4% · London 3.4% · Mountain View 3.4% · São Paulo 3.4% · Prague 3.4%
Y Berlin 3.4% · Paris 3.4% · London 3.4% · Mountain View 3.4% · São Paulo 3.4% · Prague 3.4%
0 TVD
BillingStatevarchar(40) generic value Kept from the source as reference data S 49.03%
Y 49.03%
S 25
Y 25
S 2.2 chars avg
Y 2.2 chars avg
S CA 10% · SP 10% · ON 6.7% · AB 3.3% · MA 3.3% · Dublin 3.3%
Y CA 10% · SP 10% · ON 6.7% · AB 3.3% · MA 3.3% · Dublin 3.3%
0 TVD
BillingCountryvarchar(40) country name Kept from the source as reference data S 0%
Y 0%
S 24
Y 24
S 6.4 chars avg
Y 6.4 chars avg
S USA 22.1% · Canada 13.6% · France 8.5% · Brazil 8.5% · Germany 6.8% · United Kingdom 5.1%
Y USA 22.1% · Canada 13.6% · France 8.5% · Brazil 8.5% · Germany 6.8% · United Kingdom 5.1%
0 TVD
BillingPostalCodevarchar(10) postal codepersonal New text in the measured format S 6.8%
Y 8.01%
S 55
Y 119
S 6 chars avg
Y 5.9 chars avg
S 70174 1.8% · 0171 1.8% · 1000 1.8% · T6G 2C7 1.8% · 2113 1.8% · 60316 1.8%
Y —
0% in source
Totaldecimal(10,2) monetary amount Source values, at measured frequencies S 0%
Y 0%
S 23
Y 17
S 0.99 → 25.86
Y 0.99 → 25.86
S 1.98 26.9% · 3.96 13.8% · 5.94 13.6% · 0.99 13.3% · 8.91 13.1% · 13.86 11.9%
Y 1.98 27.4% · 5.94 15.8% · 8.91 14.8% · 0.99 13.3% · 3.96 11.4% · 13.86 10%
0.024 KS