Data Engineering · 5 min read

OpenAlex rebuilds catalog pipeline on Databricks, ships a dozen changes daily

OpenAlex rebuilt its 445-million-work catalog on Databricks: nightly full reprocessing, a dozen changes shipped daily, and curation latency cut from months to under 24 hours.

By Marcus Bennett922 words

Key takeaways

  1. OpenAlex processes all 445 million research works nightly and ships ~12 code changes per day (1,256 over 90 days).
  2. One October nightly run reprocessed 65 million works in 9.3 hours; affiliation matching accuracy rose from 73% to 89%.
  3. Record-to-work matching accuracy improved from 76.9% to 99.1%, and a retrospective pass found 17.3 million duplicates.
  4. Since July 2026, 58% of API traffic — single-record lookups at ~2ms — runs on Lakebase Postgres, off the Elasticsearch search cluster.
  5. The Walden rebuild launched in November 2025, eliminating two legacy Postgres databases (~9 TB) and cutting curation latency from months to within a day.
OpenAlex rebuilds catalog pipeline on Databricks, ships a dozen changes daily
652234 / pixabay

OpenAlex now processes all 445 million research works in its catalog every night and ships roughly a dozen code changes per day, after a five-person team rebuilt its backend on Databricks in a project named Walden, launched in November 2025 with 190 million new works added on day one.

The non-profit, which maintains a free and open catalog of scholarly output — articles, books, datasets, 98 million authors, 151,000 institutions, 277,000 journals and 3.7 billion citations — previously ran on a Python application backed by two Postgres databases holding about 9 TB. Batch improvements such as re-matching author affiliations took five to seven days. User-reported fixes took two weeks or more. Curations, the corrections users submit themselves, could take months.

That latency had become a business risk. API traffic grew from 115 million calls a month in March 2024 to more than a billion, and several universities and national research organizations have cancelled paid citation databases and pointed researchers at OpenAlex instead. Institutions that run on your data want errors corrected in days, not months.

What does the new pipeline actually do?

Walden is built from Apache Spark Declarative Pipelines and Lakeflow Jobs, defined in one Declarative Automation Bundle (a single, version-controlled specification of pipeline code and infrastructure). Every table uses the Delta format and is governed by Unity Catalog. Code deploys automatically, but data does not reach users until nightly validation checks pass.

The nightly job does five things, in order:

  • Ingests new and changed records from Crossref, DataCite, PubMed, more than 12,000 repositories, full-text PDFs and user curations
  • Matches each record to the work it describes, then processes the whole catalog
  • Runs about a dozen safety checks — did works lose abstracts, institutions or citations? — and halts publication if any fails
  • Publishes to Elasticsearch for search and to Lakebase Postgres for lookups
  • Writes a full data snapshot to Amazon S3

The architecture is deliberately hybrid. Large daily sources such as Crossref and PubMed are read incrementally — only new or changed records. But wherever cost is reasonable, the pipeline rebuilds whole tables from those inputs rather than patching in place. The team rejected a fully incremental design, whose bookkeeping can hide bugs and leave stale data behind. The extra compute buys determinism: every night starts from source records, so any rule change reaches the whole catalog by morning.

Only works that changed go to search and Lakebase Postgres — about 9 million lookups on a typical night, 2% of the catalog.

What are the measured results?

The numbers are unusually specific for a migration case study. On 12 October, one nightly run reprocessed and published 65 million works in 9.3 hours. Since 26 October, the team has shipped 61 data-bug fixes, each measured on a fixed sample before and after. Every scheduled nightly run since 7 October has succeeded.

Over 90 days the team committed 1,256 code changes — about a dozen a day — with the pipeline deploying to production roughly eight times a day.

Model quality moved too:

  • Affiliation matching: the nightly GPU job links 165 million affiliation lines to institutions at 89% accuracy, up from 73% under the old rule. The new matcher's code, models and test sets are public; results were presented at the OpenAlex Users Meeting in Paris in October.
  • Record-to-work matching: since 3 November, a trained model — with Databricks GPUs pre-selecting candidates — matches records without a DOI at 99.1% accuracy, against 76.9% for the old title-matching rule. Run retroactively over the catalog, it found 17.3 million duplicates, now merged.
  • Catalog-wide embeddings: every work was embedded with a Qwen3 model via the Foundation Model API, called from SQL with ai_query (a SQL function that invokes a model). New works are embedded daily. Gains were largest for non-English search queries.
  • Quality judging: Claude models run as judges over pipeline output through ai_query, about 125,000 requests in the last month.

How is serving split?

Of the API's billion-plus monthly requests, 58% look up a single publication by OpenAlex ID, DOI or PubMed ID. Those lookups used to share the Elasticsearch cluster with every search. In July 2026, the team moved all lookups to Lakebase Postgres (Databricks' managed, serverless Postgres built on cloud object storage), leaving Elasticsearch free for search and filtering. Lookups stay fast at about 2 milliseconds each.

The split serves three purposes, per the team: it protects the search cluster, it keeps single-record lookups free without an API key, and lookups survive an Elasticsearch outage. Both stores feed from the same records each night, so they stay in step.

The two legacy Postgres databases — about 9 TB — are gone.

What should a data team take from this?

Two lessons stand out. First, full-table rebuild beats incremental patching when catalog-wide rule changes are frequent and compute is cheap relative to correctness guarantees. Second, the team treats AI output as untrusted by default: five engineers make nearly all changes with AI coding agents, but humans set the data contracts, matching rules, model thresholds and release safeguards, and the agents test against real tables governed by Unity Catalog. One agent reviews changes for naming and needless complexity before they ship.

Jason Priem, CEO and co-founder, put the stakes plainly: "Curations used to take months to take effect. Now they take effect automatically within a day."

The full dataset remains free to download from Amazon S3 every quarter, and the API remains free for basic use.

docs.databricks.com (Original)

Price tags

Share this article:

More from Marcus Bennett

Marcus Bennett

Show full bio

News editor covering people, launches and day-to-day practice in Analytics Digest is a professional daily at Analytics Digest.

78 articles

Read also

« Previous articleNext article »