Lyrebird · Realistic synthetic test databases, generated fully offline

SQL Server · AdventureWorksLT

SalesLT.SalesOrderDetail

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

References: ProductID → SalesLT.ProductSalesOrderID → SalesLT.SalesOrderHeader

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.

SalesOrderID keySalesOrderDetailID keyOrderQtyProductIDUnitPriceUnitPriceDiscountLineTotalrowguidModifiedDate
Source database · 12 of 542 rows
717741105621836356.89800356.898000E3A1994C-7A68-4CE8-96A3-77FDD3BBD7302008-06-01 00:00:00
717741105631822356.89800356.8980005C77F557-FDB6-43BA-90B9-9A7AEC55CA322008-06-01 00:00:00
71776110567190763.9000063.9000006DBFE398-D15D-425E-AA58-88178FE360E52008-06-01 00:00:00
717801106164905218.45400873.816000377246C9-4483-48ED-A5B9-E56F005364E02008-06-01 00:00:00
717801106172983461.69400923.38800043A54BCD-536D-4A1B-8E69-24D083507A142008-06-01 00:00:00
717801106186988112.99800.4000406.79280012706FAB-F3A2-48C6-B7C7-1CCDE4081F182008-06-01 00:00:00
717801106192748818.700001637.400000B12F0D3B-5B4E-4F1F-B2F0-F7CDE99DD8262008-06-01 00:00:00
717801106201990323.99400323.994000F117A449-039D-44B8-A4B2-B12001DACC012008-06-01 00:00:00
717801106211926149.87400149.87400092E5052B-72D0-4C91-9A8C-42591803667E2008-06-01 00:00:00
717801106221743809.76000809.7600008BD33BED-C4F6-4D44-84FB-A7D04AFCD7942008-06-01 00:00:00
7178011062347821376.994005507.976000686999FB-42E6-4D00-9A14-83FFA86833E32008-06-01 00:00:00
717801106242918158.43000316.86000082940B03-C70B-4183-8660-6B34189084292008-06-01 00:00:00
Synthetic database · 12 of 542 rows
717741105623861105.29400315.8820002EB61058-1985-47A6-8000-0000000000502008-06-01 00:00:00
71774110590175620.9940020.9940002EB61058-1985-47A6-8000-0000000000962008-06-01 00:00:00
7177411061827467201442EB61058-1985-47A6-8000-00000000014F2008-06-01 00:00:00
717791117211937158.43000158.4300002EB61058-1985-47A6-8000-00000000001E2008-06-01 00:00:00
71779111749188529.9940029.9940002EB61058-1985-47A6-8000-0000000001BB2008-06-01 00:00:00
71779111777484429.99400119.9760002EB61058-1985-47A6-8000-00000000003D2008-06-01 00:00:00
71779111805279220.9940041.9880002EB61058-1985-47A6-8000-00000000014C2008-06-01 00:00:00
7177911183397915.21420.020045.9892442EB61058-1985-47A6-8000-0000000001A32008-06-01 00:00:00
717791118611870149.87400149.8740002EB61058-1985-47A6-8000-0000000002132008-06-01 00:00:00
7177911188926811430.442002860.8840002EB61058-1985-47A6-8000-0000000001982008-06-01 00:00:00
71779111917473312.1440048.5760002EB61058-1985-47A6-8000-0000000002112008-06-01 00:00:00
7177911194529351430.442002860.8840002EB61058-1985-47A6-8000-0000000001862008-06-01 00:00:00

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
SalesOrderIDint record key Generated together with related columns S 0%
Y 0%
S 32
Y 32
S 71774 → 71946
Y 71774 → 71929
S 71902 9.2% · 71797 8.5% · 71936 8.5% · 71782 7.9% · 71783 7.9% · 71784 7.9%
Y 71814 9.2% · 71784 8.5% · 71819 8.5% · 71789 7.9% · 71799 7.9% · 71804 7.9%
—
SalesOrderDetailIDint record key Generated together with related columns S 0%
Y 0%
S 542
Y 528
S 110562 → 113406
Y 110562 → 113004
S —
Y —
—
OrderQtysmallint quantity integer Source values, at measured frequencies S 0%
Y 0%
S 19
Y 17
S 1 → 25
Y 1 → 25
S 1 23.6% · 2 19% · 3 16.8% · 4 11.1% · 5 8.5% · 6 6.5%
Y 1 24.9% · 2 18.6% · 3 17.9% · 4 10.3% · 5 10.1% · 6 6.5%
0.03 KS
ProductIDint record key Foreign key, from the measured relationship S 0%
Y 0%
S 142
Y 142
S 707 → 999
Y 681 → 969
S —
Y —
0.327 KS
UnitPricemoney monetary amount Source values, at measured frequencies S 0%
Y 0%
S 64
Y 59
S 1.3740 → 1466.0100
Y 1.3740 → 1466.0100
S 445.4100 5.9% · 1430.4420 5.7% · 323.9940 4.6% · 32.3940 4.4% · 112.9980 3.5% · 29.9940 3.5%
Y 445.4100 7.9% · 323.9940 6.5% · 1430.4420 5.5% · 5.3940 4.6% · 32.3940 4.4% · 29.9940 3.7%
0.039 KS
UnitPriceDiscountmoney percentage Generated together with related columns S 0%
Y 0%
S 5
Y 4
S 0 → 0.4000
Y 0 → 0.4000
S 0.0000 92.1% · 0.4000 3.5% · 0.0200 2.8% · 0.0500 1.5% · 0.1000 0.2%
Y 0.0000 94.3% · 0.4000 3% · 0.0200 2.4% · 0.0500 0.4%
0.022 KS
LineTotalnumeric(38,6) monetary amount Computed by the database S 0%
Y 0%
S 259
Y 270
S 2.994000 → 19136.137500
Y 2.748000 → 25514.850000
S —
Y —
0.052 KS
rowguiduniqueidentifier uuid New key values S 0%
Y 0%
S 542
Y 542
S 36 chars avg
Y 36 chars avg
S —
Y —
—
ModifiedDatedatetime lifecycle timestamp Times from the measured distribution S 0%
Y 0%
S 1
Y 1
S 2008-06-01 00:00:00 → 2008-06-01 00:00:00
Y 2008-06-01 00:00:00 → 2008-06-01 00:00:00
S 2008-06-01 00:00:00 100%
Y 2008-06-01 00:00:00 100%
0 KS