Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
joakimfenno
Helper V
Helper V

Lakehouse - sync issues to SQL en`dpoint

I have a delta table in lakehouse which is populated by a notebook from another delta table

When I query the table ditrect I see records that I dont see when I query the table fromn the SQL endpoint

I have seen sync issues to the sql endpoint before (created objects in lakehouse appear in the sql endpoint after some time) but I have not seen this issue before. I was thinking that it could take a while before the sql endpoint is refreshed but it has now been a couple of hours.

Has anyone else seen this?

11 REPLIES 11
v-huijiey-msft
Community Support
Community Support

Hi @joakimfenno ,

 

Is my follow-up just to ask if the problem has been solved?

 

If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?

 

Thank you very much for your cooperation!

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

the sql endoint synced after two days, but I dont understand why/how

@joakimfenno  I am in the same boat as you. Can you please confirm me 1 thing if possible, after you perform the delta table operations, if you manually refresh following this, does the sql endpoint sync immediately ? src - https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance

 

smpa01_1-1727295708885.png

 

 

 

smpa01_0-1727295671296.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Yes I tried that
I will try again next time this occurs and get back

Hi @joakimfenno ,

 

Sometimes, there is a delay in synchronization, albeit a long time.

 

If the issue has been resolved, can you please mark this post as "Answered"?

 

Best Regards,
Yang
Community Support Team

for some cases its hard to tell is cases are resolved or not 🙂

in my case the sql endpoint were in sync two days later - is that expected or a bug?

You wrote that "Under normal conditions, the lag between updates in the Lakehouse and the SQL endpoint should be less than a minute. If there are many partitions in your Delta tables, the sync might take longer due to the service parsing a large Delta log."

in my case we did not have any partitions

v-huijiey-msft
Community Support
Community Support

Hi @joakimfenno ,

 

Thank you all for your attention to this case.

 

Here are a few potential reasons and solutions:

 

Under normal conditions, the lag between updates in the Lakehouse and the SQL endpoint should be less than a minute. If there are many partitions in your Delta tables, the sync might take longer due to the service parsing a large Delta log.

 

If you have used column name mapping to alter your table, it might stop syncing to the SQL endpoint.

 

You can try forcing a sync manually by updating the table on OneLake or waiting for the sync to complete automatically.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

frithjof_v
Community Champion
Community Champion

Here is some documentation regarding SQL Analytics Endpoint performance:

 

https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance

 

Also, if you by chance have used column name mapping to alter your table, it will stop syncing to the SQL Analytics Endpoint.

Thank you for providing the MS learn link. 

 

"Under normal operating conditions, the lag between a lakehouse and SQL analytics endpoint is less than one minute."

 

The lag between lakehosue and SQL endpoint was showing the difference for me and MS Learn does confirm the lag as it takes around 1 minute to update the SQL endpoint. In my secnario, I needed to access the data right after updating the lakehouse table, hence I was getting the difference. 

AndyDDC
Most Valuable Professional
Most Valuable Professional

Yes this is a known issue.  Do you have a lot of partitions in your Delta tables?  People have been reporting that the larger number of partitions they have, the longer the sync takes due to the service having to parse a large Delta log.

digitalbrain
Helper I
Helper I

Hi @joakimfenno , thank you for raising this issue. I've seen the similar issue when accessing the data right after overwritting the Lakehouse delta table via Notebook. Sometimes, the SQL endpoint returns the old data regardless of the new data available in the delta table when it's read by the Lookup activity in the pipeline. This must be an issue at Fabric side that requires their attention to patch in the next releases.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.