databricks-lakebase-autoscale

Manage Databricks Lakebase autoscaling PostgreSQL projects via the Databricks SDK.

3|1|Updated May 12, 2025
One-click install
npx skills add https://github.com/Aradhya0510/databricks-cv-accelerator --skill databricks-lakebase-autoscale-aradhya0510
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-lakebase-autoscale
Source: https://github.com/Aradhya0510/databricks-cv-accelerator/tree/main/.github/skills/databricks-lakebase-autoscale
Command: npx skills add https://github.com/Aradhya0510/databricks-cv-accelerator --skill databricks-lakebase-autoscale-aradhya0510

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a managed PostgreSQL database service on Databricks that automatically scales compute resources, offers branching for development workflows, and supports scale-to-zero for cost savings.

Core Features & Use Cases

  • Autoscaling Compute: Dynamically adjusts PostgreSQL compute power (0.5-112 CU) based on load.
  • Branching: Create isolated database environments similar to Git branches for safe development and testing.
  • Scale-to-Zero: Suspends compute after inactivity to reduce costs, with automatic wake-up on connection.
  • Reverse ETL: Sync data from Delta Lake tables into PostgreSQL.
  • Use Case: Develop and deploy applications requiring a scalable, cost-effective PostgreSQL database, manage multiple environments with branching, and integrate data from your Databricks Lakehouse.

Quick Start

Use the databricks-lakebase-autoscale skill to create a new project named 'my-app' with PostgreSQL version 17.

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 autoscaling PostgreSQL on Databricks for OLTP workloads?

To set up autoscaling PostgreSQL on Databricks, use the Databricks SDK to create a Lakebase project and compute instance. The compute dynamically adjusts power between 0.5 and 112 CU based on load.

What is scale-to-zero in managed PostgreSQL and how does it save costs?

Scale-to-zero in managed PostgreSQL suspends compute resources after inactivity to reduce costs. The database automatically wakes up upon a new connection request, ensuring seamless availability.

Can I create isolated PostgreSQL branches for development on Databricks?

Yes, you can create isolated PostgreSQL branches on Databricks using Lakebase. This works like Git branching, providing safe, isolated database environments for development and testing.

Does Databricks Lakebase support reverse ETL from Delta Lake to PostgreSQL?

Yes, Databricks Lakebase supports reverse ETL from Delta Lake. You can sync data directly from Delta Lake tables into the managed PostgreSQL database for operational workloads.

What is the best way to manage credentials for a managed PostgreSQL service on Databricks?

The best way to manage credentials for managed PostgreSQL on Databricks is through the Databricks SDK. The Lakebase service provides specific patterns for secure project, branch, and credential management.

When should I not use scale-to-zero for my PostgreSQL database?

You should not use scale-to-zero for PostgreSQL databases requiring constant, low-latency availability. Waking up suspended compute introduces startup delay, making it unsuitable for strictly real-time applications.