Cinema sample database — MongoDB, flat (258,631 rows)

A collection per table. Each primary key is the document _id; foreign keys are fields under their own names, so the SQL version's joins become $lookup stages.

Load it:
  sh import.sh                    (into mongodb://localhost:27017)
  sh import.sh "<connection string>"

Or one collection at a time: mongoimport --db cinema --collection <name> --file <name>.ndjson

Collections:
  addresses — 12 documents
  chains — 3 documents
  cities — 8 documents
  concession_items — 15 documents
  content_ratings — 5 documents
  countries — 1 documents
  device_tokens — 5,000 documents
  facilities — 8 documents
  genres — 10 documents
  movie_crews — 1,200 documents
  movie_genres — 220 documents
  movies — 120 documents
  notifications — 5,000 documents
  order_concessions — 30,000 documents
  orders — 45,000 documents
  payment_methods — 5 documents
  people — 600 documents
  promotions — 8 documents
  reviews — 2,000 documents
  screens — 60 documents
  seat_types — 4 documents
  seats — 10,800 documents
  shows — 1,500 documents
  theater_facilities — 40 documents
  theaters — 12 documents
  tickets — 100,000 documents
  transactions — 45,000 documents
  user_favorites — 3,000 documents
  user_refunds — 1,000 documents
  users — 8,000 documents

Types: numeric columns are Decimal128, so totals stay exact; dates and timestamps are
Date values read as UTC (the data has no time zone); times and UUIDs are strings;
JSON columns are embedded objects.

Synthetic data, CC0-1.0, from databasesample.com. The same rows as the SQL and CSV files.
