Productspublished

Databricks Pushes Lakebase Postgres as the Backend for Apps and Agents

The developer push pairs managed PostgreSQL with Databricks Apps, handling application identities and connection details inside the workspace while leaving teams to choose their database environment and data-access model.

By 3 min read
Databricks Pushes Lakebase Postgres as the Backend for Apps and Agents
Databricks Pushes Lakebase Postgres as the Backend for Apps and Agents

Listen to this story

The audio brief

About 1:26
0:001:26
Read transcript
Databricks is positioning Lakebase Managed Postgres as the backend for web applications and AI agents, bringing application state, identity, and lakehouse analysis into one workspace. The developer push arrived on September second, building on documentation updated August twenty-eighth that shows how the pieces fit together. With Databricks Apps, a team can attach a Lakebase database to an application and get a managed Postgres backend without handling credentials in code. Databricks creates a service principal for the app, matches it with a Postgres role, and injects the connection details as environment variables. Developers choose the Lakebase project, branch, and database. Each project starts with a production branch, while additional branches provide isolated environments for development or testing. The application server and database compute scale independently, so sizing one does not dictate the other. Scale-to-zero can lower idle costs, although Databricks says the first query after a long pause may take several seconds. There is also a lakehouse connection. Register Lakebase in Unity Catalog, and teams can query its transactional tables through Databricks SQL alongside Delta tables, including joins between application data and lakehouse data. The trade-off is that this managed path requires serverless compute and the right permissions. Builders still decide how much data stays behind Postgres and how much becomes part of the broader analytics layer. The key constraint to watch is whether that operational simplicity outweighs the workspace, compute, and access requirements.

Story brief

3 key points

Databricks is making Lakebase Managed Postgres a way to keep application state, identity, and lakehouse analytics in one workspace. The September 2 developer push builds on application documentation updated August 28, showing apps can attach a managed database with automated service-principal authentication, independent scaling, branching, and scale-to-zero. Teams can also register Lakebase in Unity Catalog to join...

  1. 01

    Lakebase projects include a default production branch, with additional branches providing isolated database environments.

  2. 02

    Databricks injects connection details as environment variables and creates matching app identities and Postgres roles.

  3. 03

    App-server and database compute scale independently, so application sizing does not determine database capacity.

Databricks is positioning Lakebase Managed Postgres as a managed PostgreSQL backend for web applications and AI agents. Its September 2 developer push centers on a database colocated with the Lakehouse and integrated and secured within the Databricks workspace.

A developer-facing push

The immediate catalyst is Databricks’ September 2 developer promotion of Lakebase. It presents the service as a Postgres database for shipping web apps and agents, provisionable through the command-line interface and queryable from any application. Databricks also highlights autoscaling, scale-to-zero compute and instant database branching.

The product’s application path was already more concrete in Databricks documentation updated August 28. Databricks Apps lets customers build and deploy interactive applications directly in a workspace; adding Lakebase as a resource gives an app a fully managed Postgres backend. The company supplies autoscaling examples in Dash, Flask and Streamlit, using a simple todos application to demonstrate the connection.

How the connection is assembled

Databricks automates the identity handoff when Lakebase is attached to an app. It creates a service principal, a dedicated identity for that app rather than an individual user, then creates a matching Postgres role with database access. Connection details arrive as environment variables, so the template can connect without developers managing credentials or connection strings in code.

A Lakebase project is a managed Postgres instance organized into branches, with a production branch created by default. That gives a team isolated database environments within one project. The application server’s compute is separate from database compute and scales independently, so choosing an app server size does not set the database’s compute size.

Data can stay connected to the lakehouse

By default, an app’s Lakebase data is available through direct Postgres connections. A team can instead register the database in Unity Catalog, Databricks’ catalog layer, and query its transactional tables through Databricks SQL alongside lakehouse data. That registration enables a single query to join app tables with Delta tables, according to the documentation.

The managed route still has operational boundaries. The documented setup requires a workspace with Lakebase and serverless compute enabled, plus permission to create compute resources and apps. Scale-to-zero can also trade idle cost for a pause: Databricks says the first database query after a long idle period may take a few seconds to respond.

The builder’s remaining decisions

Databricks has simplified the path from an application to a database, but it has not removed the design choices around it. Builders still select the Lakebase project, branch and database their app will use, decide whether to expose data only through Postgres or also register it in Unity Catalog, and choose app-server compute independently from the database. That makes Lakebase less a standalone database pitch than a route for keeping application state, app identity and lakehouse analysis inside one workspace.

Sources

  1. developers.databricks.comDatabricks Developer
  2. docs.databricks.comdocs.databricks.com