Gaia DR4: 400 terabytes of star data, and a schema migration worth learning from

Dec 2, 2026

Today at 12:00 CET, ESA opens the fourth major data release of the Gaia space telescope, Gaia DR4. It is one of the largest scientific datasets ever released in one go. For a data engineer, the story behind the release is just as interesting.

What is in Gaia DR4?

  • Five and a half years of measurements, from July 2014 to January 2020: almost twice as much as the previous release.
  • 2.8 billion celestial objects with a total of 142 billion observations.
  • For the first time, the full time series: every measured position and brightness per star, not just an average.
  • New products, such as a “residual image” that may reveal dust discs around young stars.
  • The archive grows to about 400 terabytes, some forty times the previous version.

The migration before the data

ESA did not wait for the big day to change its archive. On 14 October, seven weeks ahead, a new version of the Gaia archive went live, with breaking changes announced in advance:

  • Two data structures were renamed: RAW became DATAMODEL_GAIA and INDIVIDUAL became DATAMODEL_STANDARD.
  • Each user may now run only 5 queries at once, with a queue of 50, so the archive stays usable for everyone.
  • Under the hood, the database moved from Greenplum to EDB WarehousePG.
  • Since 25 November the archive has been closed to load the new data; it reopens today at 12:00 CET.

The result: researchers updated their scripts weeks ago, before a single byte of DR4 was available. On GitHub you can see projects that switched their code to the new names in late November. Today, nobody has to discover that their analysis is broken.

Five lessons for your own data warehouse

  1. Announce breaking changes well in advance. Seven weeks gave users time to test instead of repair.
  2. Change the schema before the big load, not at the same time. If something fails, you immediately know whether it is the model or the data.
  3. Protect your platform with limits. A cap on concurrent queries stops one heavy user from bringing everyone down.
  4. Plan a clear maintenance window. A fixed start and end time beats a week of “things may be slow”.
  5. Test in advance what a change affects. Which reports, ETL jobs and queries use the old field? You want to know before production.

That last one is exactly why we built Sat-Impactcheck: you see in advance which data a change in the data model affects, and every version is kept in a Data Vault. Try the demo or watch the 77-second video.

Sources: ESA Gaia (cosmos.esa.int), Gaia ESA Archive release notes version 3.15 and Gaia Bulletins #10 and #11.