Car rental sample database — MongoDB, flat (2,909,399 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 car-rental --collection <name> --file <name>.ndjson

Collections:
  bookings — 1,000,000 documents
  categories — 6 documents
  customers — 40,000 documents
  damages — 2,000 documents
  departments — 4 documents
  discounts — 4 documents
  employees — 240 documents
  features — 12 documents
  fines — 10,000 documents
  fuels — 4 documents
  inspections — 10,000 documents
  insurance_types — 4 documents
  insurances — 80,000 documents
  licenses — 40,000 documents
  locations — 12 documents
  maintenance_types — 6 documents
  maintenances — 5,000 documents
  manufacturers — 10 documents
  memberships — 4 documents
  models — 40 documents
  payment_methods — 4 documents
  payments — 350,000 documents
  rates — 6 documents
  rentals — 650,000 documents
  returns — 650,000 documents
  reviews — 20,000 documents
  roadside_assists — 5,000 documents
  roles — 5 documents
  shift_schedules — 5,000 documents
  statuses — 4 documents
  tax_rates — 12 documents
  transmissions — 2 documents
  vehicle_features — 30,000 documents
  vehicles — 12,000 documents
  vendors — 20 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.
