Skip to content

Responsive joins Databricks: what Lakebase gains

Preetham ReddyUpdated 6 min readAnnouncements

On Lakebase, the limits that matter to a business come from the engine Databricks built underneath Postgres, not from Postgres itself. They decide how far back an application can recover its own data and how many people or AI agents can test changes on their own copy of it at once. That's why Responsive's news matters to us. The team, founding members of the SlateDB storage project, wrote on 9 October that it is joining Databricks "to accelerate development of Lakebase and Neon" (Responsive).

We build on Lakebase. We moved DealerIQ's TotalLoop onto it from Cosmos DB and SQL Server (case study), and our testing accelerator TechFabric Experiments gives every live test run its own copy of the database. Today the limits are 30 days of history and 20 working copies awake at the same time, and the announcement promises a change to neither. For a company running an application on Lakebase, or planning one, nothing changes in this quarter's plans or costs.

The rows themselves stay, but Lakebase can recover earlier versions of a changed row only within that window. So any history an auditor may want still has to reach the lakehouse first. A plan to give every developer or agent its own copy of the database still has to count copies first. The news changes the roadmap instead, because Databricks is adding engineers to the engine both limits sit on. At our Gilbert user group in September we made a copy of a live database in 4.5 seconds. After the move, we'd first check that it still takes seconds.

Why storage decides what Lakebase can do

Lakebase took the two things a monolithic Postgres keeps on one machine's disk, the write-ahead log and the data pages, and put them in separate services with the durable copy in cloud object storage (Databricks on the architecture). That's what makes a branch appear in seconds, with logical_size_bytes at zero, as ours did at Gilbert. It also means every feature added on top needs a data structure whose natural home is object storage, where memory used to do the job.

Every gap between "Postgres has an extension for this" and "Lakebase supports it" is likely to be storage work of that kind. A team that has already shipped log-structured storage on object storage shortens that queue.

History stops at 30 days

Lakebase keeps at most 30 days of history, set per project from 2 to 30 with a default of 7 (Manage projects). Our Gilbert project ran on seven, and past that window there's no moment left to branch from or restore to.

Take an auto refinance lender, the business our own platform AutoFabric serves. Six weeks after a credit policy changes, underwriting wants last quarter's declines re-scored under the new policy, against the data exactly as it stood when each decision was made. Lakebase can't answer that from its own history once the decisions are more than 30 days old.

So the design we'd draw writes every scored decision through to Delta with the values it read, and treats the lakehouse as the record for anything an auditor or a model-risk reviewer will ask about later. Build the lookback against Delta and the 30-day ceiling never bothers you. Build it against branches and you find the ceiling the week somebody asks for six months.

Scored application writes

Lakebase operational tables

Change data feed to Delta

Lakehouse decision record

History of 30 days at most

Lakebase holds the live operational slice, and the durable decision record belongs in Delta, because Lakebase history stops at 30 days.

The change data feed carries those writes out. At Gilbert our app's writes reached Delta in 10 to 15 seconds, with the transaction id on every row, once REPLICA IDENTITY FULL was set before the feed was switched on.

Twenty computes awake at once

A project allows 20 concurrently active computes, with the default branch exempt so production stays reachable, and Databricks Support can raise it (Manage projects). Branches themselves are plentiful, at 500 a project.

That's the limit that matters for test branches. Experiments creates one per live run and deletes it at the end, and any run that leaves its compute awake holds one of the twenty until it idles. Compute scales to zero after a timeout between 60 seconds and 7 days (scale to zero). So the idle timeout is what keeps a busy pipeline under the ceiling, and the branch count barely matters. Expirations matter for the bill as well, because an expiring branch is billed only for the data that changes on it, and a permanent one for its full size (Manage branches).

A database per coding agent, which we'd like to offer and haven't built, wants hundreds of short-lived computes, and twenty with a ticket for more doesn't fit that. Of the two limits, this is the one I'd most like to see the Responsive engineers pointed at.

What the news changes today

Responsive's post names no API change, no limit change and no date, and we wouldn't plan around one. It does tell us where Databricks is spending engineering effort, and that matches the two limits above.

If history moved into object storage at object storage prices, part of the pipeline above that writes decisions to Delta would become optional. If computes became cheap and quick enough to start that nobody counted them, a branch per agent would be an ordinary default. Until either happens, any Lakebase design we'd draw puts the record of truth in Delta, and we'd settle that at kickoff.

Where we'd start on Lakebase this quarter

We'd pick the schema that holds the decisions somebody will audit, then set REPLICA IDENTITY FULL on its tables. We'd switch on the change data feed so every change lands in Delta, and set the history window to the 30-day maximum on any project that needs it. Then we'd put an expiration on every ad-hoc branch, set an idle timeout in minutes on test branches, and count active computes before promising anybody a database per agent. We cover how we'd plan the rest in our Lakebase implementation work, and branching for test runs in Lakebase branches for test runs, previews and coding agents.

Frequently asked questions

What is Responsive bringing to Databricks?

A team that has spent four years building log-structured storage on object storage and was among the founding members of the SlateDB project. Responsive says it is joining to accelerate development of Lakebase and Neon. The announcement names no API change, limit change or date, so it tells us where effort is going and promises nothing else.

How far back can a Lakebase project restore?

Thirty days at most. The history window is set per project from 2 to 30 days, with 7 as the default, and past it there's no point left to branch from or restore to. Current rows stay where they are; it's the earlier versions of changed rows that go, so any version someone may need later has to be written to Delta while it's still inside the window.

What counts toward the Lakebase limit of 20 active computes?

Only computes that are awake count. A project can hold 500 branches, but only 20 computes can be active at once, with the default branch exempt. A compute that scales to zero after its idle timeout stops counting, so a short timeout on test and preview branches is what keeps a busy pipeline under the ceiling.

Does Responsive joining Databricks change Lakebase pricing or limits?

Not yet. Responsive's post names no API change, no limit change and no date, and it says nothing about pricing. The 30-day history window and the 20-compute ceiling stay in any design until Databricks' own documentation changes, which is where we'd look before relaxing either.