Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Error’d: Better Nate Than Lever

      July 4, 2025

      10 Top Node.js Development Companies for Enterprise-Scale Projects (2025-2026 Ranked & Reviewed)

      July 4, 2025

      12 Must-Know Cost Factors When Hiring Node.js Developers for Your Enterprise

      July 4, 2025

      Mirantis reveals Lens Prism, an AI copilot for operating Kubernetes clusters

      July 3, 2025

      Microsoft Gaming studios head Matt Booty says “overall portfolio strategy is unchanged” — with more than 40 games in production

      July 3, 2025

      Capcom reports that its Steam game sales have risen massively — despite flagship titles like Monster Hunter Wilds receiving profuse backlash from PC players

      July 3, 2025

      Cloudflare is fighting to safeguard “the future of the web itself” — standing directly in the way of leading AI firms

      July 3, 2025

      Microsoft reportedly lacks the know-how to fully leverage OpenAI’s tech — despite holding IP rights

      July 3, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The dog days of JavaScript summer

      July 4, 2025
      Recent

      The dog days of JavaScript summer

      July 4, 2025

      Databricks Lakebase – Database Branching in Action

      July 4, 2025

      Flutter + GitHub Copilot = Your New Superpower

      July 4, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Windows 10 vs Windows 11 Battery Life: Which OS Uses More Power?

      July 4, 2025
      Recent

      Windows 10 vs Windows 11 Battery Life: Which OS Uses More Power?

      July 4, 2025

      10 Best PC Games Under 2 GB to Install and Play

      July 4, 2025

      Lenovo Teases First-Ever White ThinkPad, Launching July 11

      July 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Databricks Lakebase – Database Branching in Action

    Databricks Lakebase – Database Branching in Action

    July 4, 2025

    What is Databricks Lakebase?

    Databricks Lakebase is a Postgres OLTP engine, integrated into Databricks Data Intelligence Platform. A database instance is a compute type that provides fully managed storage and compute resources for a postgres database. Lakebase leverages an architecture that separates compute and storage, which allows independent scaling while supporting low latency (<10ms) and high concurrency transactions.

    Databricks has integrated this powerful postgres engine along with sophisticated capabilities that are benefited by Databricks recent acquisition of Neon. Lakebase is fully managed by Databricks, which means no infrastructure has to be provisioned and maintained separately. In addition to traditional OLTP engine, Lakebase comes with below features,

    • Openness: Lakebase are built on open-source standards
    • Storage and compute separation: Lakebase stores data in data lakes in open format. It enables scaling storage and compute independently.
    • Serverless: Lakebase is lightweight, meaning it can scale instantly up and down based on the load. It can scale down to zero, at which the cost of the lakebase is just for the storage  of data only. No compute cost will be applied.
    • Modern development workflow: Branching a database is as simple as branching a code repository. It is done near instantly.
    • Built for AI Agents: Lakebases are designed to support a large number of AI agents. It’s branching and checkpointing capabilities enable AI agents to experiment and rewind to any point in time.
    • Lakehouse Integration: Lakebase make it easy to combine operational, analytical and AI systems without complex ETL pipelines.

    In this article, we shall discuss in detail about how database branching feature works in Lakebase.

    Database Branching

    Database branching is one of the unique features introduced in Lakebase, that enables to branch out a database. It resembles the exact behavior of how code branch could be branched out from an existing branch.

    Branching database is beneficial for an isolated test environment or point in time recovery. Lakebase uses copy-on-write branching mechanism to create an instant zero-copy clone of the database, with dedicated compute to operate on that branch. With zero-copy clone, it enables to create a branch of parent database of any size instantly.

    The child branch is managed independently of the parent branch. With child isolated database branch, one can perform testing/debugging in the production copy of data. Though both parent and child databases appear separate, physically both instances would be pointing to same data pages. Under the hood, child database will be pointing to the actual data pages which parent is pointing to. When a change occurs in any of the data in child branch, then a new data page will be created with the new changes, and it will be available only to the branch. Any changes done in branch will not reflect in parent branch.

    How branching works

    The below diagrams represent how database branching works under the hood,

    Database Branching

    Database Branching Updates

    Lakebase in action

    Here is the demonstration of how Lakebase instance can be created, branch out an instance and how table changes behave,

    To create Lakebase instance, login Databricks and navigate to Compute -> OLTP Database tab -> Click “Create New Instance” button,

    Create New Instance 01

    Create New Instance Success 02

    Click “New Query” to launch SQL Editor for PostgreSQL Database. In current instance, let’s create a new table and add some records.

    Instance1 Create Table 03

    Instance1 Query Table 04

    Let’s create a database branch “pginstance2” from instance “pginstance1”. Goto Compute –> OLTP Database –> Create Database instance

    Enter new instance name and expand “Advanced Settings” -> Enable “Create from parent” option -> Enter the source instance name “pginstance1”.

    Under “Include data from parent up to”, select “Current point in time” option. Here, we can choose any specific point in time instance too.

    Create Instance2 05

    Instance2 Create Success 06

    Launch SQL Editor from pginstance2 database instance and query tbl_user_profile table

    Instance2 Query Table 07

    Now, let’s insert new record and update an existing record in the tbl_user_profile table in pginstance2,

    Instance2 Update Table 08

    Now, let’s switch back to parent database instance pginsntance1 and query tbl_user_profile table. The table in pginsntance1 should still be only 3 records. All the changes done in tbl_user_profile table should be available only in pginstance2.

    Instance1 Query Table 09

    Conclusion

    Database changes that are done in one branch will not impact/reflect in another branch, thereby provide clear isolation of database at scale. Currently Lakebase do not have a feature to merge database branch. However, Databricks is committed and working towards database merge capability in near future.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleFlutter + GitHub Copilot = Your New Superpower
    Next Article The dog days of JavaScript summer

    Related Posts

    Artificial Intelligence

    AI Consulting for Startups in Bangalore: The Ultimate Guide to Market Dominance with Digital Marketing Legend Srinidhi Ranganathan

    July 4, 2025
    Artificial Intelligence

    Learn AI Tools Online: Your Ultimate 2025 Guide to Mastering the AI Revolution

    July 4, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-42993 – SAP S/4HANA Unauthorized Event Consumption and Code Execution Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-45866 – TOTOLINK A3002R Buffer Overflow

    Common Vulnerabilities and Exposures (CVEs)

    Wayback: Come Continuare a Usare i Desktop X11 nell’era di Wayland

    Linux

    There is no Forza Horizon 6 this year, but Phil Spencer did tease it for the Xbox 25th anniversary in 2026

    News & Updates

    Highlights

    CVE-2025-5972 – PHPGurukul Restaurant Table Booking System Cross-Site Scripting Vulnerability

    June 10, 2025

    CVE ID : CVE-2025-5972

    Published : June 10, 2025, 7:15 p.m. | 2 hours, 33 minutes ago

    Description : A vulnerability classified as problematic has been found in PHPGurukul Restaurant Table Booking System 1.0. Affected is an unknown function of the file /admin/manage-subadmins.php. The manipulation of the argument fullname leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

    Severity: 2.4 | LOW

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    CVE-2025-3662 – FancyBox for WordPress Unauthenticated Stored XSS

    June 3, 2025

    Skywings Marketing: Best Digital Marketing Agencies in Ghaziabad

    April 24, 2025

    CVE-2025-4443 – D-Link DIR-605L Remote Command Injection Vulnerability

    May 9, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.