Lyrebird Community 0.5.8 is free · Generate a synthetic test database on your own machine · Download

PostgreSQL · Pagila

payment_p2022_07

Source rows
2,334
Synthetic rows
2,334
Broken foreign keys
0
Rows equal to a source row
99.8%

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

References: customer_id → customerstaff_id → staffrental_id → rental

Rows

The first rows of each database by primary key, source above and synthetic below, 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_id keycustomer_idstaff_idrental_idamountpayment_date key
Source database · 12 of 2,334 rows
28045522194125.992022-07-01 00:19:24.037126+00:00
19172176118366.992022-07-01 00:47:01.611203+00:00
28217537167460.992022-07-01 01:06:54.256884+00:00
16562541110664.992022-07-01 01:25:17.371652+00:00
18274544123952.992022-07-01 02:01:47.325274+00:00
30396125152002.992022-07-01 02:07:27.787256+00:00
22912242104912.992022-07-01 02:29:56.380334+00:00
23353701129513.992022-07-01 02:43:20.170085+00:00
27392466156914.992022-07-01 03:12:22.098868+00:00
3194636111476902022-07-01 03:14:01.092422+00:00
27532477188215.992022-07-01 03:19:23.368234+00:00
209444171112916.992022-07-01 03:51:27.684190+00:00
Synthetic database · 12 of 2,334 rows
17179712876110.992022-07-01 00:23:33.076277+00:00
175044172135784.992022-07-01 00:44:42.707842+00:00
17916522135392.992022-07-01 01:23:30.973047+00:00
17796189224326.992022-07-01 02:09:57.822836+00:00
177141901149410.992022-07-01 02:13:09.946933+00:00
17110501113394.992022-07-01 02:15:02.707097+00:00
16586257166414.992022-07-01 02:42:45.897411+00:00
17399112249964.992022-07-01 02:44:53.475432+00:00
16079136172715.992022-07-01 03:01:25.616639+00:00
16773296242792.992022-07-01 03:10:04.255779+00:00
17853579256265.992022-07-01 03:53:33.966559+00:00
16258273162024.992022-07-01 04:48:31.494830+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. The last column compares the two distributions: a full bar is the same distribution, an empty one no overlap (Kolmogorov-Smirnov for numbers and times, total variation for columns with few values). Personal columns are replaced on purpose, 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 Same as the source?
payment_idinteger record key Generated together with related columns S 0%
Y 0%
S 2,334
Y 2,334
S 16061 → 32098
Y 16061 → 18394
S 28045 0% · 19172 0% · 28217 0% · 16562 0% · 18274 0% · 30396 0%
Y 17179 0% · 17504 0% · 17916 0% · 17796 0% · 17714 0% · 17110 0%
—
customer_idinteger record key Foreign key, from the measured relationship S 0%
Y 0%
S 590
Y 582
S 1 → 598
Y 1 → 599
S 221 0.5% · 390 0.4% · 505 0.4% · 424 0.4% · 526 0.4% · 220 0.4%
Y 592 0.5% · 564 0.5% · 471 0.5% · 185 0.4% · 273 0.4% · 147 0.4%
Very close KS 0.027
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 50.2% · 1 49.8%
Y 2 50.2% · 1 49.8%
Very close KS 0
rental_idinteger record key Foreign key, from the measured relationship S 0%
Y 0%
S 2,330
Y 2,330
S 1 → 16042
Y 10 → 16041
S 4591 0.2% · 9412 0% · 1836 0% · 6746 0% · 1066 0% · 2395 0%
Y 12167 0.2% · 8761 0% · 13578 0% · 3539 0% · 2432 0% · 14941 0%
Very close KS 0.018
amountnumeric(5,2) monetary amount Source values, at measured frequencies S 0%
Y 0%
S 18
Y 20
S 0 → 11.99
Y 0 → 11.99
S 4.99 23.8% · 2.99 21.9% · 0.99 18.8% · 5.99 8.8% · 3.99 7.2% · 6.99 6.8%
Y 2.99 23.5% · 4.99 22.4% · 0.99 18.8% · 5.99 8.4% · 6.99 7.7% · 3.99 6%
Very close KS 0.021
payment_datetimestamp with time zone lifecycle timestamp Generated together with related columns S 0%
Y 0%
S 2,334
Y 2,334
S 2022-07-01 00:19:24.037126+00:00 → 2022-07-27 10:39:20.739759+00:00
Y 2022-07-01 00:23:33.076277+00:00 → 2022-07-27 10:33:56.310462+00:00
S 2022-07-01 00:19:24.037126+00:00 0% · 2022-07-01 00:47:01.611203+00:00 0% · 2022-07-01 01:06:54.256884+00:00 0% · 2022-07-01 01:25:17.371652+00:00 0% · 2022-07-01 02:01:47.325274+00:00 0% · 2022-07-01 02:07:27.787256+00:00 0%
Y 2022-07-01 00:23:33.076277+00:00 0% · 2022-07-01 00:44:42.707842+00:00 0% · 2022-07-01 01:23:30.973047+00:00 0% · 2022-07-01 02:09:57.822836+00:00 0% · 2022-07-01 02:13:09.946933+00:00 0% · 2022-07-01 02:15:02.707097+00:00 0%
—