Lyrebird · Realistic synthetic test databases, generated fully offline

PostgreSQL · Pagila

payment_p2022_01

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

This is a partition. Its rows also appear in the parent table.

References: customer_id → customerrental_id → rentalstaff_id → staff

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.

payment_idcustomer_idstaff_idrental_idamountpayment_date
Source database · 12 of 723 rows
160512691980.992022-01-29 01:58:52.222+00:00
1606527411472.992022-01-25 12:14:16.895+00:00
1610929721430.992022-01-28 00:49:49.128+00:00
1619534421572.992022-01-31 05:58:51.176+00:00
1620234828210.992022-01-26 16:52:41.359+00:00
1621635729450.992022-01-24 00:39:09.052+00:00
162373691314.992022-01-31 00:12:16.422+00:00
1624737216172.992022-01-29 12:51:46.565+00:00
1624937322574.992022-01-29 05:33:33.142+00:00
1625937922094.992022-01-30 23:02:06.818+00:00
16295397210020.992022-01-28 13:25:14.841+00:00
1631840913106.992022-01-25 01:57:07.766+00:00
Synthetic database · 12 of 723 rows
1605723527323.992022-01-30 05:42:15.817+00:00
16085141139820.992022-01-24 03:17:33.883+00:00
160892231131043.992022-01-28 00:17:36.704+00:00
16110392128900.992022-01-27 15:43:10.953+00:00
16112133220194.992022-01-23 18:57:57.650+00:00
1613348828863.992022-01-29 04:55:58.887+00:00
1613447217292.992022-01-29 00:11:05.326+00:00
161643691141835.992022-01-31 00:09:36.123+00:00
16244189167216.992022-01-27 10:17:43.780+00:00
162701032140277.992022-01-30 05:57:57.595+00:00
16295281149574.992022-01-27 12:19:50.879+00:00
1629884198335.992022-01-25 17:35:20.870+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
payment_idinteger record key Numbers from the measured histogram S 0%
Y 0%
S 723
Y 723
S 16051 → 32088
Y 16057 → 32091
S —
Y —
0.035 KS
customer_idinteger record key Foreign key, from the measured relationship S 0%
Y 0%
S 393
Y 420
S 1 → 596
Y 1 → 599
S —
Y —
0.054 KS
staff_idinteger record key Foreign key, from the measured relationship S 0%
Y 0%
S 2
Y 2
S 1 → 2
Y 1 → 2
S 2 51.2% · 1 48.8%
Y 2 51.2% · 1 48.8%
0 KS
rental_idinteger record key Foreign key, from the measured relationship S 0%
Y 0%
S 723
Y 723
S 31 → 16032
Y 32 → 16003
S —
Y —
0.051 KS
amountnumeric(5,2) monetary amount Source values, at measured frequencies S 0%
Y 0%
S 13
Y 13
S 0 → 10.99
Y 0 → 10.99
S 4.99 23.1% · 2.99 21.4% · 0.99 17.2% · 5.99 8.3% · 3.99 8.2% · 6.99 7.7%
Y 4.99 23.2% · 2.99 20.6% · 0.99 16.5% · 5.99 8.7% · 6.99 8.4% · 3.99 8%
0.015 KS
payment_datetimestamp with time zone lifecycle timestamp Times from the measured distribution S 0%
Y 0%
S 723
Y 723
S 2022-01-23 13:03:52.212+00:00 → 2022-01-31 23:24:45.836+00:00
Y 2022-01-23 13:12:25.280+00:00 → 2022-01-31 22:29:35.169+00:00
S —
Y —
0.033 KS