- OpenAlex, the free and open catalog of the world's research, moved its entire data pipeline from Postgres and Python scripts to Databricks.
- Improving a big slice of the catalog used to take five to seven days on the old pipeline, and fixes took weeks to reach users.
- Now one nightly job now processes the entire catalog in under eight hours, the team ships around a dozen changes a day, and Lakebase Postgres serves the lookups behind an API that handles more than a billion requests a month.
OpenAlex is a non-profit that develops a free and open catalog of the world's research. It describes 445 million research works: articles, books, datasets and other scholarly outputs. These link to 98 million authors, 151,000 institutions and 277,000 journals and other sources, and to each other through about 3.7 billion citations.
The API is easy to use and free for basic use, and the whole dataset is free to download from Amazon S3 every quarter. That openness has made OpenAlex part of the infrastructure of research. Universities, research agencies, university rankings, research tools and enterprise users build on it. Several universities and national research organizations have cancelled paid citation databases and pointed their researchers to OpenAlex instead. API traffic grew from 115 million calls a month in March 2024 to more than a billion today.
When universities and enterprise users depend on your data, they need errors fixed in days, not months. And they need reassurance that the corrections are right.
Why the old pipeline couldn't keep up
OpenAlex used to run on a Python application backed by two Postgres databases holding about 9 TB. Worker processes pulled records from queues, processed them, and wrote them to Elasticsearch in batches. That design kept up with the large daily flow of new publications, but it had no room to go faster.
It struggled whenever we needed to improve a large batch of them at once, such as re-matching author affiliations or correcting a source's metadata. A batch like that could take five to seven days to get through the pipeline. Fixes that users reported took two weeks or more to go live. And curations, the corrections users submit themselves, could take months.
The breakthrough wasn't just making our jobs faster. We changed how the system works: process the catalog as a whole, validate the results, and make improvements available the next morning. That turned changes affecting millions of records from special projects into routine engineering work.
Rebuilding on Databricks
In 2025 the team rebuilt OpenAlex’s backend on Databricks, in a project called Walden. It launched in November 2025 and added more than 190 million new works on its first day.
Walden is built from Apache Spark Declarative Pipelines and Lakeflow Jobs, defined in one Declarative Automation Bundle. Every table is in Delta format and governed by Unity Catalog. Code changes deploy automatically, but updated catalog data isn't published to users until the nightly validation checks pass.
At its center is one nightly job. Every night it:
- Ingests new and changed records from Crossref, DataCite, PubMed, more than 12,000 repositories, full-text PDFs and user curations
- Matches each incoming record to the work it describes, then processes the whole catalog
- Runs about a dozen safety checks, such as whether research works lost their abstracts, institutions or citations, and stops publishing if any fails
- Publishes to Elasticsearch for search and to Lakebase Postgres for lookups, and writes a full data snapshot to Amazon S3
Walden blends two kinds of processing on purpose. Large sources we take in every day, such as Crossref, PubMed and the repositories, are processed incrementally. Each night we read only the records that are new or changed. After that, wherever the cost is reasonable, the pipeline rebuilds whole tables from those inputs, including the final table of research works, instead of patching them in place.
We chose that design over a fully incremental pipeline, whose bookkeeping adds complexity and can hide bugs or leave stale data behind. A full rebuild costs some extra compute, but every night starts from the source records, so a change to any rule reaches the whole catalog by morning. Only the research works that changed then go to search and Lakebase Postgres. It’s about 9 million lookups on a typical night, or 2% of the catalog.

Walden on Databricks, from sources to outputs
Shipping fast, with safeguards
Because a change reaches every research work overnight, the team ships continuously. Over the course of 90 days we committed around a dozen code changes a day (1,256 in all), and the pipeline deployed them to production about eight times a day. What counts is what reaches users, and the timeline shows the major releases and data-bug fixes since launch.

OpenAlex release dates, from launch posts, announcements and job logs
Large improvements now ship in a single night. On 12 October one nightly run was re-processed and published 65 million research works in 9.3 hours. Since 26 October the team has also shipped 61 data-bug fixes, each measured on a fixed sample before and after.
The nightly safety checks stop publishing if anything moves unexpectedly. The engineer who owns a large planned change sizes it and clears it in advance, so the checks catch bugs without slowing the team down. Every scheduled nightly run since 7 October has succeeded.
Lakebase Postgres takes the load off search
Of the API's billion-plus requests a month, 58% look up one publication by its OpenAlex ID, DOI or PubMed ID. Those simple lookups used to run on the same Elasticsearch cluster that handles every search.
In July 2026 we moved every lookup to Lakebase, leaving the Elasticsearch cluster free for search and filtering. The nightly job writes each work's record to a Delta table, and Lakebase synced tables copy only the ones that changed into Postgres.
Lookups stayed fast too, at about 2 milliseconds each.
We split serving this way on purpose. It protects Elasticsearch, the most critical part of the API; it helps keep single-record lookups free for everyone, even without an API key; and lookups keep working via Lakebase even if the search cluster has trouble. Keeping the two in step is a part of the nightly job, since both are fed from the same records.
AI at scale
Databricks lets a small team apply AI to the whole catalog, not a sample.
Embeddings for search and matching
We turned every work in the catalog into an embedding with a Qwen3 model on the Foundation Model API, called straight from SQL with ai_query , and new ones are embedded each day. We use the same embeddings for entity resolution, such as finding duplicate works to merge. Search results improved most for queries in languages other than English, so research outside the English-speaking world is easier to find.
Linking authors to institutions
A nightly GPU job links 165 million affiliation lines, such as "Dept. of Physics, University of Oxford", to the institutions they name. These links decide which universities get credit for a paper, in their own research reports and in rankings built on OpenAlex. The new matcher names exactly the right institutions for 89% of lines, up from 73%. We presented these results at the OpenAlex Users Meeting in Paris in October, and the code, models and test sets are public.
Matching records to works
Since 3 November, models decide which work a new record describes when no DOI settles it: Databricks GPUs find the likely candidates, and a trained model picks the match. When it joins a record to an existing work, it is right 99.1% of the time, against 76.9% for the old rule that matched on titles. When run over the existing catalog, it found 17.3 million duplicates, which are now merged, so researchers find one record for each paper instead of several copies.
Quality checks
ai_query runs Claude models as judges over pipeline output in plain SQL: about 125,000 requests in the last month.
Move faster, with control
Designing our architecture with Databricks and AI is key to how fast we move. A team of five makes nearly all of these changes with AI coding agents, but engineers design the system the agents work in. They set the data contracts, matching rules, model thresholds and release safeguards, and take extra time over architecture to keep the pipeline clean: clear names, deterministic results, and tables that can be rebuilt from their source records.
We wrote Claude skills to map the pipeline and its rules, so an agent knows where each change belongs, and one of them reviews changes for naming and needless complexity before they ship. Because the pipeline is code governed by Unity Catalog, agents test changes against real tables, and the team checks results against real data before publication. We move faster without treating generated code or model output as trustworthy by default.
Results
| Before: Postgres and Python | After: Databricks | |
|---|---|---|
| Improving a large batch of works | Five to seven days | Overnight: 65 million works in one 8-hour run |
| A reported fix going live | Two weeks or more; curations took months | About a day; curations within 24 hours |
| Where single-record lookups run | Elasticsearch, alongside every search | Lakebase, off the search cluster |
| Legacy processing Postgres databases | Two, about 9 TB | Eliminated |
Why it matters
OpenAlex exists to give everyone a free and open record of research. On Databricks a fix shipped today is available the following day and checked before it goes out.
To learn more about what we are building at OpenAlex, visit our website.
"Curations used to take months to take effect. Now they take effect automatically within a day."- Jason Priem, CEO and co-founder, OpenAlex
FAQs
What is OpenAlex?
OpenAlex is a free and open catalog of the world's research. It describes 445 million research works linked to 98 million authors, 151,000 institutions and 3.7 billion citations. Its API handles more than a billion requests a month and is used by universities, research agencies, rankings and enterprise users.
What is a lakebase?
A lakebase is a transactional database that keeps its data on the lake, for a modern, agentic app stack. Traditional databases run on single machines. A lakebase runs a stateless database engine and keeps data in durable cloud object storage, so compute can scale on its own and storage is used on demand. Lakebase Postgres is Databricks' fully managed, serverless Postgres database built on this architecture.
Why did OpenAlex move away from its original pipeline?
The original Postgres-and-Python pipeline couldn't keep up with large-scale improvements. Re-processing a batch of records took five to seven days, user-reported fixes took two weeks or more to go live and curations could take months. The team needed a system that could process the entire catalog overnight and ship changes daily.
How does the nightly pipeline work?
One nightly job ingests new and changed records from sources like Crossref, PubMed and more than 12,000 repositories, then processes the full catalog. It runs about a dozen safety checks before publishing. If any check fails, the pipeline stops and nothing goes out. Only the research works that actually changed — typically about 2% of the catalog — are pushed to search and Lakebase Postgres.
How does OpenAlex use AI in its pipeline?
The team uses AI at several stages: embedding every work in the catalog with a Qwen3 model for search and entity resolution, linking 165 million author-affiliation lines to institutions with a nightly GPU job (89% accuracy, up from 73%) and matching incoming records to existing works with a trained model (99.1% accuracy, up from 76.9%). Claude models also run as quality judges over pipeline output via ai_query in SQL.
Related tags:Get the latest posts in your inbox
Subscribe to our blog and get the latest posts delivered to your inbox.
AI 热点