PostgreSQL · Pagila
payment_p2022_04
- Source rows
- 2,547
- Synthetic rows
- 2,547
- Broken foreign keys
- 0
- Rows equal to a source row
- 100%
Every synthetic row matches a source row outside its keys. Kept reference data and resampled source values match by design, and columns with few possible values can match by chance: see how each column was generated below. You can review, replace or remove kept values before you publish a profile.
This is a partition. Its rows also appear in the parent table.
References: customer_id → customerrental_id → rentalstaff_id → staff
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 key | customer_id | staff_id | rental_id | amount | payment_date key |
|---|---|---|---|---|---|
| Source database · 12 of 2,547 rows | |||||
| 27324 | 459 | 2 | 6750 | 3.99 | 2022-04-01 00:02:24.640021+00:00 |
| 30449 | 129 | 2 | 3900 | 4.99 | 2022-04-01 00:25:46.233872+00:00 |
| 26666 | 399 | 2 | 6229 | 6.99 | 2022-04-01 00:28:34.024137+00:00 |
| 22965 | 29 | 2 | 11962 | 2.99 | 2022-04-01 00:50:24.259859+00:00 |
| 18754 | 65 | 1 | 2173 | 7.99 | 2022-04-01 00:55:04.933744+00:00 |
| 28589 | 573 | 2 | 9963 | 2.99 | 2022-04-01 01:03:01.041983+00:00 |
| 28331 | 549 | 2 | 9887 | 0.99 | 2022-04-01 01:19:53.658613+00:00 |
| 26899 | 420 | 2 | 5911 | 0.99 | 2022-04-01 01:31:01.971591+00:00 |
| 27134 | 441 | 1 | 4084 | 8.99 | 2022-04-01 01:31:54.258132+00:00 |
| 23575 | 93 | 1 | 13555 | 2.99 | 2022-04-01 01:35:21.092032+00:00 |
| 26364 | 371 | 1 | 7408 | 3.99 | 2022-04-01 02:15:55.001009+00:00 |
| 31070 | 182 | 2 | 4784 | 0.99 | 2022-04-01 02:38:41.909331+00:00 |
| Synthetic database · 12 of 2,547 rows | |||||
| 18276 | 41 | 1 | 1845 | 0.99 | 2022-04-01 00:02:32.198329+00:00 |
| 17956 | 309 | 1 | 4451 | 4.99 | 2022-04-01 00:15:48.614235+00:00 |
| 16153 | 70 | 2 | 14517 | 4.99 | 2022-04-01 00:23:34.896004+00:00 |
| 18244 | 163 | 1 | 511 | 2.99 | 2022-04-01 00:52:22.938883+00:00 |
| 17322 | 63 | 1 | 5134 | 6.99 | 2022-04-01 01:22:17.969871+00:00 |
| 18490 | 475 | 1 | 11 | 2.99 | 2022-04-01 01:45:43.695642+00:00 |
| 16629 | 592 | 2 | 4433 | 5.99 | 2022-04-01 01:55:58.979279+00:00 |
| 17832 | 533 | 1 | 811 | 4.99 | 2022-04-01 02:01:27.172426+00:00 |
| 18492 | 120 | 1 | 14636 | 1.99 | 2022-04-01 02:02:26.680173+00:00 |
| 16090 | 93 | 2 | 15273 | 5.99 | 2022-04-01 02:05:06.382895+00:00 |
| 17764 | 381 | 1 | 14835 | 1.99 | 2022-04-01 02:06:09.327324+00:00 |
| 18154 | 204 | 1 | 8921 | 2.99 | 2022-04-01 02:54:05.977209+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,547 Y 2,547 | S 16066 → 32096 Y 16066 → 18612 | S 27324 0% · 30449 0% · 26666 0% · 22965 0% · 18754 0% · 28589 0% Y 18276 0% · 17956 0% · 16153 0% · 18244 0% · 17322 0% · 18490 0% | — |
| customer_idinteger | record key | Foreign key, from the measured relationship | S 0% Y 0% | S 592 Y 586 | S 1 → 599 Y 1 → 599 | S 406 0.5% · 266 0.4% · 42 0.4% · 388 0.4% · 75 0.4% · 298 0.4% Y 20 0.5% · 592 0.5% · 535 0.5% · 377 0.4% · 249 0.4% · 543 0.4% | Close KS 0.05 |
| 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 1 50.4% · 2 49.6% Y 2 50.4% · 1 49.6% | Very close KS 0.008 |
| rental_idinteger | record key | Foreign key, from the measured relationship | S 0% Y 0% | S 2,547 Y 2,547 | S 4 → 16044 Y 7 → 16042 | S 6750 0% · 3900 0% · 6229 0% · 11962 0% · 2173 0% · 9963 0% Y 1845 0% · 4451 0% · 14517 0% · 511 0% · 5134 0% · 11 0% | Very close KS 0.021 |
| amountnumeric(5,2) | monetary amount | Source values, at measured frequencies | S 0% Y 0% | S 15 Y 15 | S 0 → 11.99 Y 0 → 11.99 | S 2.99 23.2% · 4.99 22.8% · 0.99 17.7% · 5.99 7.8% · 3.99 6.9% · 6.99 6.9% Y 4.99 23.8% · 2.99 21.6% · 0.99 15.9% · 6.99 8.2% · 5.99 8% · 3.99 6.5% | Very close KS 0.037 |
| payment_datetimestamp with time zone | lifecycle timestamp | Generated together with related columns | S 0% Y 0% | S 2,547 Y 2,547 | S 2022-04-01 00:02:24.640021+00:00 → 2022-04-30 23:41:00.471444+00:00 Y 2022-04-01 00:02:32.198329+00:00 → 2022-04-30 23:30:27.009067+00:00 | S 2022-04-01 00:02:24.640021+00:00 0% · 2022-04-01 00:25:46.233872+00:00 0% · 2022-04-01 00:28:34.024137+00:00 0% · 2022-04-01 00:50:24.259859+00:00 0% · 2022-04-01 00:55:04.933744+00:00 0% · 2022-04-01 01:03:01.041983+00:00 0% Y 2022-04-01 00:02:32.198329+00:00 0% · 2022-04-01 00:15:48.614235+00:00 0% · 2022-04-01 00:23:34.896004+00:00 0% · 2022-04-01 00:52:22.938883+00:00 0% · 2022-04-01 01:22:17.969871+00:00 0% · 2022-04-01 01:45:43.695642+00:00 0% | — |