Lyrebird · Realistic synthetic test databases, generated fully offline

PostgreSQL · Pagila

film_category

Source rows
1,000
Synthetic rows
1,000
Broken foreign keys
0
Rows equal to a source row
Keys only

References: category_id → categoryfilm_id → film

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.

film_id keycategory_id keylast_update
Source database · 12 of 1,000 rows
162022-02-15 10:07:09+00:00
2112022-02-15 10:07:09+00:00
362022-02-15 10:07:09+00:00
4112022-02-15 10:07:09+00:00
582022-02-15 10:07:09+00:00
692022-02-15 10:07:09+00:00
752022-02-15 10:07:09+00:00
8112022-02-15 10:07:09+00:00
9112022-02-15 10:07:09+00:00
10152022-02-15 10:07:09+00:00
1192022-02-15 10:07:09+00:00
12122022-02-15 10:07:09+00:00
Synthetic database · 12 of 1,000 rows
162022-02-15 10:07:09+00:00
252022-02-15 10:07:09+00:00
312022-02-15 10:07:09+00:00
4152022-02-15 10:07:09+00:00
572022-02-15 10:07:09+00:00
6132022-02-15 10:07:09+00:00
772022-02-15 10:07:09+00:00
8142022-02-15 10:07:09+00:00
962022-02-15 10:07:09+00:00
1092022-02-15 10:07:09+00:00
1122022-02-15 10:07:09+00:00
1242022-02-15 10:07:09+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
film_idinteger record key Generated together with related columns S 0%
Y 0%
S 1,000
Y 1,000
S 1 → 1000
Y 1 → 1000
S —
Y —
—
category_idinteger record key Generated together with related columns S 0%
Y 0%
S 16
Y 16
S 1 → 16
Y 1 → 16
S 15 7.4% · 9 7.3% · 8 6.9% · 6 6.8% · 2 6.6% · 1 6.4%
Y 15 7.4% · 9 7.3% · 8 6.9% · 6 6.8% · 2 6.6% · 1 6.4%
—
last_updatetimestamp with time zone lifecycle timestamp Times from the measured distribution S 0%
Y 0%
S 1
Y 1
S 2022-02-15 10:07:09+00:00 → 2022-02-15 10:07:09+00:00
Y 2022-02-15 10:07:09+00:00 → 2022-02-15 10:07:09+00:00
S 2022-02-15 10:07:09+00:00 100%
Y 2022-02-15 10:07:09+00:00 100%
0 KS