November 19, 2026
•
5 min
 read

From lakehouse to applications: does Lakebase really close the data loop?

For years, data platforms were used primarily to look back. They collected the history of sales, campaigns, customer behaviour and channel performance. They allowed analysts to answer what had happened, and data science teams to predict what might happen next. It was much harder to use these results at the moment when an application, a consultant or an AI agent had to make a decision.

Karolina Biela
Craftware
Share this post
From lakehouse to applications: does Lakebase really close the data loop?

This is where Databricks positions Lakebase: a managed PostgreSQL database integrated with the lakehouse platform. The product is meant to connect two different worlds — the analytical one, based on a large history of data, and the operational one, which expects short response times and transactional behaviour.1

This does not mean, however, that the lakehouse has become a transactional database or that all data now lives in one place. A more accurate question is: can Lakebase be an operational projection of knowledge computed in the lakehouse and, at the same time, a source of new events that flow back into analytics?

Two engines, two responsibilities. Lakehouse and Lakebase solve different problems.

The lakehouse is suited to storing history, integrating multiple sources, improving data quality, aggregation, processing large volumes and training models. It can combine CRM data, transactions, in-app activity, campaigns, contact history and digital events. This is where segments, scores, model features, rules and recommendations are created.

Lakebase is operational PostgreSQL. It is meant to serve the current state an application needs: the result of the latest computation, the current decision, process configuration, interaction state or data created directly by the application. Its job is to expose this information through a standard PostgreSQL interface with latency suitable for an application, not to re-analyse the entire history with every request.

This separation also matters in terms of wording. Saying that an application "runs transactions on the lakehouse" would go too far. In the typical setup, the application runs transactions in Lakebase, while the lakehouse remains the layer of history and computation.

The loop from data to action

The general flow can look like this:

  • Data from CRM, marketing systems, e-commerce, applications and internal systems lands in the lakehouse.
  • Pipelines integrate historical data with the latest events.
  • Databricks computes operationally useful results: aggregates, segments, scores, recommendations or rules.
  • Selected results are published to Lakebase.
  • Applications, models or AI agents read them from the PostgreSQL database.
  • Applications write current transactions and the results of their actions.
  • Changes from Lakebase flow back to the lakehouse and become part of the next analytical cycle.

In this architecture, the value does not come from a single spectacular use case. The same pattern can support personalisation, prioritisation of actions, serving up-to-date features to models, communication control, AI agent state or the operational use of analytical results.

Salesforce can be one of the data sources.

Lakeflow Connect has a managed connector that supports, among other things, incremental ingestion, SCD type 2, data filtering and selected schema evolution mechanisms.2 Other CRM systems, marketing automation, e-commerce platforms or internal applications can play a similar role.

What matters is that ingestion from Salesforce does not automatically give you a real-time flow. The pipeline schedule is chosen to match the required freshness and cost, and the change detection method depends on the source's capabilities. The total latency includes at least:

source delay + ingestion + processing + publication to Lakebase + application cache.

If the business requires updates within five minutes, all of these components have to be measured. Knowing that the last segment of the flow runs in a dozen or so seconds does not yet prove that the final view is up to date.

Publishing to Lakebase is not a magic "zero copy"

Synced Tables let you move data from tables managed in Unity Catalog to PostgreSQL. Snapshot, Triggered and Continuous modes are available. Continuous mode offers latency measured in seconds, but the minimum interval is 15 seconds. It is also the most expensive option.3

It is a convenient mechanism, but it still creates a managed copy of the data. The documentation also points out limitations that should be included in the architecture design:

It is a convenient mechanism, but it still creates a managed copy of the data. The documentation also points out limitations that should be included in the architecture design:

  • a synced table should be treated as read-only in Lakebase;
  • a single sync process can use up to 16 connections to the database;
  • for Triggered and Continuous modes, additive changes are safely supported;
  • changing a key or definition requires recreating the table;
  • duplicate keys can stop synchronisation;
  • the approximate update throughput depends on the number of CUs.

So Lakebase does not remove the problems related to data contracts, schema evolution and observability. It can, however, reduce the amount of custom code needed to build the serving layer.

The way back has limitations too

Lakebase Change Data Feed moves inserts, updates and deletes from PostgreSQL to Delta tables in Unity Catalog. Changes are read from the WAL, batched and written roughly every 15 seconds.4 This can be valuable for auditing, feeding pipelines and analysing the effects of application actions.

However, it is not a full replacement for an event platform. CDF records a change in a record's state. It does not have to contain the business meaning of that change: who initiated it, why it happened and which systems should respond to it. In addition, the feature is still in Public Preview. A schema change can trigger a new snapshot of the table, partitioned tables are not supported, and a private endpoint for the target storage has additional limitations.

Key architecture questions

First: which system owns a given attribute?

If the same status can be changed in Salesforce, the application and Lakebase, a conflict will arise sooner or later. Two-way synchronisation without a defined system of record is a risk regardless of the technology chosen.

Second: what does "up to date" mean?

Marketing consent may require near-instant propagation, while a customer segment may be computed once an hour. A single SLA for the whole profile often makes no sense.

Third: how will the application behave during a delay?

A good design should define the maximum age of data, whether the last valid value can be used, and how to signal that synchronisation is delayed.

Fourth: is write-back to an external system needed?

A connector that ingests data from Salesforce into Databricks does not automatically solve propagation in the opposite direction. Such a flow may require an API, an integration platform or a separate reverse ETL process.

A new capability, not an automatic answer

Lakebase gives Databricks a piece that was previously missing: a native, operational PostgreSQL database close to data, models and applications. This makes it possible to build certain solutions with fewer self-maintained integrations.

This does not mean that every historical dataset should be synced to PostgreSQL or that every application should use Lakebase. It makes the most sense to publish small, well-defined projections: the data needed to make a decision now, computed from a much larger history.

Lakebase can therefore close the loop between analysis and action, but only if the architecture explicitly defines data owners, expected freshness, behaviour during failures and the boundary between operational state and analytical history.

Practical guide

Turn the insight into
a next step.

Keep exploring

More thinking for the next decision