cancel
Showing results for 
Search instead for 
Did you mean: 
Lakebase Discussions
Ask questions, share challenges, and connect with others working on Lakebase. From troubleshooting to best practices, this is where conversations happen.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

gokkul
by Databricks Partner
  • 1351 Views
  • 4 replies
  • 1 kudos

How to access a delta table in UC from lakebase postgres ?

Hi DB Community ,Is there any way to access/write to delta table in UC from lakebase postgres ? There's a way using "Sync Table" - but it is recommended only to read data from Sync Table . Databricks recommends against writing to sync table . Or else...

  • 1351 Views
  • 4 replies
  • 1 kudos
Latest Reply
Abhishek_sinha
New Contributor II
  • 1 kudos

Currently, direct write-back from Lakebase PostgreSQL to Unity Catalog Delta tables is not the recommended pattern.A few points that may help:• “Sync Tables” are mainly designed for replication/read access scenarios. Databricks currently recommends a...

  • 1 kudos
3 More Replies
Gokkul007
by New Contributor
  • 935 Views
  • 3 replies
  • 1 kudos

How to create a lakebase table ?

Hi databricks community, I want to create a lakebase table that is synced with the delta table . So whenever the delta table is updated the changes should be available in lakebase table.  Now I want to create a databricks streamlit application and ma...

  • 935 Views
  • 3 replies
  • 1 kudos
Latest Reply
balajij8
Contributor III
  • 1 kudos

You can use Lake base Autoscaling with Synced Tables.Synced tables empower you to export high quality & governed data from Lakehouse into Lake base. Its specifically designed for downstream applications requiring extreme responsiveness (sub 10ms resp...

  • 1 kudos
2 More Replies
jericksoncea
by New Contributor III
  • 2348 Views
  • 3 replies
  • 0 kudos

Lakebase auto start/stop

It doesn’t appear that the Lakebase OLTP instances function like Sql warehouses in the following ways:• automatically starting when initiating a connection• automatically stopping after no usage in x minutesI am wondering if others have use cases for...

  • 2348 Views
  • 3 replies
  • 0 kudos
Latest Reply
balajij8
Contributor III
  • 0 kudos

Lake base supports Autoscaling & Scale to Zero with Automatic Suspension & Reactivation capabilitiesAutomatic Suspension - Lake base compute automatically suspends after a period of inactivity (default is 5 minutes).Reactivation - The compute automat...

  • 0 kudos
2 More Replies
_Lilith
by New Contributor II
  • 642 Views
  • 6 replies
  • 0 kudos

Resolved! Lakebase login via REST for a service principal

Hi all,I’m trying to set up REST-based communication between my Lakebase and a REST-client.I’m following the documentation “Connecting to Lakebase via REST using a service principal” to obtain a workspace-level token. After that, I use the Lakebase D...

  • 642 Views
  • 6 replies
  • 0 kudos
Latest Reply
_Lilith
New Contributor II
  • 0 kudos

I created a new Lakebase project to retrace all my steps. 0- I reused my service principal on the workspace1- installed databricks authentication extension: CREATE EXTENSION IF NOT EXISTS databricks_auth;2-Added the lakehouse service principal to the...

  • 0 kudos
5 More Replies
MrSky
by New Contributor II
  • 282 Views
  • 3 replies
  • 2 kudos

"Get Started with Lakebase" Course

Greetings,I am following course " Get Started with Lakebase Course".  I got access to "Databricks Academy Labs" but I could not find documentation related to "Get Started with Lakebase Course". I appreciate any help. Thanks,Sri

  • 282 Views
  • 3 replies
  • 2 kudos
Latest Reply
MrSky
New Contributor II
  • 2 kudos

@Sumit_7 , Thank you for sharing the course URL. I have been working through the same course. Please refer to the 4th lesson, “Demo: Creating and Exploring a Lakebase Project.”I was not able to find any related documentation—specifically the tables d...

  • 2 kudos
2 More Replies
ctgchris
by New Contributor III
  • 321 Views
  • 2 replies
  • 0 kudos

Error on Lakebase Postgres Autoscaling Table Tab

I can't view my lakebase postgres autoscaling project's table tab.The error id is: 3760588e08b843c5a4aebac770f8e967

  • 321 Views
  • 2 replies
  • 0 kudos
Latest Reply
POCUSER
New Contributor II
  • 0 kudos

Hi @ctgchris,I'm experiencing the same issue — unable to view the table tab on Lakebase Postgres Autoscaling. Has there been any update or resolution on this? Any workaround would be appreciated as well.Thanks!

  • 0 kudos
1 More Replies
Lode
by Databricks Partner
  • 634 Views
  • 1 replies
  • 0 kudos

Resolved! Lakebase in an enterprise setup

Hi,Has anyone managed to get the new Lakebase autoscaling fully working in an enterprise Azure setup?We are currently facing issues when setting up Lakebase autoscaling in a Databricks environment without a public IP, where all traffic is routed priv...

  • 634 Views
  • 1 replies
  • 0 kudos
Latest Reply
emma_s
Databricks Employee
  • 0 kudos

Hi,  so I think what is happening as different types of tools get routed to lakebase via different paths and I believe you need to open up an additional private link. The docs here explain it pretty well. https://learn.microsoft.com/en-us/azure/datab...

  • 0 kudos
Sbolo
by New Contributor
  • 346 Views
  • 1 replies
  • 0 kudos

"Unknown Error" when running simple select query in Lakebase SQL Editor

Hello! I am experiencing a confusing issue with LakeBase. I created a new project and I tried to run the example query provided in the SQL Editor to create a first table. Unfortunately, the query failed with "Unknown Error" and not further explanatio...

image.png
  • 346 Views
  • 1 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @Sbolo ,Which Lakebase are you using? Provisioned or Autoscaling? And since you also got following error:"Public access is not allowed for workspace: <id here>"I think it can be a networking issue. Try to create private endpoints and check if this...

  • 0 kudos
Sega2
by New Contributor III
  • 417 Views
  • 1 replies
  • 0 kudos

Calling a Lakebase project API directly from an web frontend

Today we have an web frontend and custom API that we call from the frontend. I can see Lakebase projects support an API and SQL over REST. And we are considering whether skipping the custom API and calling the Lakebase API directly. However I see som...

  • 417 Views
  • 1 replies
  • 0 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 0 kudos

Hi @Sega2, I don't there are many patterns or approaches published widely yet. In general, though, for production web apps, you may want to consider something like frontend --> thin backend --> Lakebase rather than calling Lakebase Data API directly ...

  • 0 kudos
Sega2
by New Contributor III
  • 722 Views
  • 1 replies
  • 0 kudos

Resolved! Lakebase branches and permissions to SQL editor

Our admin created a project for lakebase branching. My user has "Can manage" permissions. I can create branches etc, however when I run something in the SQL editor i get following error:"ERROR: permission denied for schema public (SQLSTATE 42501)CREA...

  • 722 Views
  • 1 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Greetings @Sega2 , I did some digging and here is what I found.  Your screenshot (thanks for sharing, it was helpful) is showing a user running a Postgres CREATE TABLE statement in the Lakebase SQL Editor and hitting this error: In Lakebase, there ar...

  • 0 kudos
Sega2
by New Contributor III
  • 940 Views
  • 4 replies
  • 0 kudos

Resolved! Promoting changes from dev branch to production

I am playing with branches in lakebase. I have created a dev under prod, applied som changes. How do you merge/promote the dev into prod? Have not found any things in the UI?Thanks, Thomas

  • 940 Views
  • 4 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @Sega2, I can help with this. Welcome to Lakebase branching. As the earlier reply mentioned, Lakebase branches use copy-on-write technology rather than Git-style merging, so the workflow for promoting changes is a bit different from what you might...

  • 0 kudos
3 More Replies
skarpeck
by Databricks Partner
  • 1496 Views
  • 3 replies
  • 1 kudos

Lakebase not accessible in Private Network

We have a VNET Injected workspace in Azure. There are multiple SQL Warehouse which are easily accessible from Private Network - both directly from VM and via VPN on client's machine. We deployed Lakebase. Inside the Workspace, connectivity is working...

  • 1496 Views
  • 3 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

Summary Lakebase operates in the Databricks Serverless compute plane, meaning it does not reside inside your injected VNET. Connection timeouts from external tools are typically caused by blocked outbound ports or missing front-end Private Link confi...

  • 1 kudos
2 More Replies
pdiamond
by Contributor
  • 1179 Views
  • 3 replies
  • 1 kudos

Resolved! Lakebase error logs

Anyone know where to see any logs related to Lakebase/Postgres? I have a Tableau Prep flow that is failing but the error is not clear and I'm trying to find out what the database is capturing.

  • 1179 Views
  • 3 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

There are multiple ways of monitoring Lakebase errors and warnings.   This will let you see what Tableau is actually sending and how it behaves (e.g., repeated failing INSERT). 3. Control‑plane / audit logs for Lakebase Databricks audit logs include...

  • 1 kudos
2 More Replies
ctgchris
by New Contributor III
  • 1113 Views
  • 1 replies
  • 1 kudos

Resolved! Databricks App how to setup lakebase postgres connection locally

I'm developing a FastAPI middleware app (Databricks App) that connects to both a SQL Warehouse (Unity Catalog) and a Lakebase PostgreSQL instance using async SQLAlchemy. The app works perfectly when deployed to Databricks, but I'm trying to set up lo...

  • 1113 Views
  • 1 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

Summary You should be able to test your FastAPI endpoints locally. Lakebase supports direct external connections via the standard PostgreSQL wire protocol, meaning your local SQLAlchemy setup can directly query the Lakebase instance without needing t...

  • 1 kudos