databricks-lakebase-autoscale

Provision Databricks Lakebase Autoscaling PostgreSQL resources with databricks-sdk APIs.

Updated May 20, 2026
One-click install
npx skills add https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks- --skill databricks-lakebase-autoscale-ice-droid-99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-lakebase-autoscale
Source: https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks-/tree/main/.gemini/skills/databricks-lakebase-autoscale
Command: npx skills add https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks- --skill databricks-lakebase-autoscale-ice-droid-99

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you create and operate Databricks Lakebase Autoscaling (managed PostgreSQL) for OLTP workloads without breaking authentication or connection lifecycles.

Core Features & Use Cases

  • Credential-safe connection setup: generates Lakebase-scoped database credentials using WorkspaceClient().postgres.generate_database_credential(...) and uses the returned token as the Postgres password (with sslmode=require).
  • Production-ready resource orchestration: covers projects, branches, endpoints/compute sizing, scale-to-zero behavior, and update/create/delete flows including long-running operation handling with .wait().
  • Practical reverse ETL integration: documents the Delta-to-Postgres synced-table model and the operational constraints (including CDF requirements for triggered/continuous modes).

Use Case Example: You need a dev/test workflow where production is protected, a temporary branch gets its own autoscaling endpoint, your app connects reliably using rotating credentials, and you sync curated Delta tables into Lakebase for low-latency reads.

Quick Start

Tell the AI: “Set up a Lakebase Autoscaling project with a protected production branch and an autoscaling read-write endpoint sized for 1–8 CU, then show the Python psycopg pool + OAuth connection pattern using a freshly minted Lakebase-scoped credential.”

Frequently Asked Questions about databricks-lakebase-autoscale

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Databricks Lakebase autoscaling for PostgreSQL?

Lakebase autoscaling for PostgreSQL OLTP uses the databricks-sdk WorkspaceClient().postgres APIs to create projects, branches, and endpoints. You manage compute sizing and scale-to-zero behavior while handling long-running operations with wait().

How does OAuth credential minting work for Lakebase Postgres connections?

OAuth credential minting for Lakebase Postgres uses WorkspaceClient().postgres.generate_database_credential(...) to return a token used as the password. You must connect with sslmode=require to ensure a credential-safe connection lifecycle.

Can I sync Delta tables to Postgres for reverse ETL in Lakebase?

Yes, you can sync Delta tables to Postgres for reverse ETL in Lakebase. The Delta-to-Postgres synced-table model requires Change Data Feed (CDF) for triggered or continuous sync modes to enable low-latency reads.

What is the best way to manage Lakebase endpoint discovery and updates?

The best way to manage Lakebase endpoint discovery is via status.hosts.host, and updates require using FieldMask. This ensures correct endpoint compute sizing and scale-to-zero behavior within Databricks Lakebase.

Does Lakebase support dev/test workflows with protected production branches?

Lakebase supports dev/test workflows with protected production branches by allowing temporary branches to get their own autoscaling endpoints. Applications connect reliably using rotating OAuth credentials minted with Lakebase-scoped access.