<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fabric Lakehouse SQL Endpoint Automatic Refresh in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4642434#M2857</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Can we refresh the whole Lakehouse SQL Endpoint using the spark notebook, as the command it looks like it is just going to refresh the table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our customers are facing issue in which when we upload the Delta File in Lakehouse after that table is not visible even after waiting for 5 mins. So is there a way we can do via notebook, please suggest.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 07:06:30 GMT</pubDate>
    <dc:creator>amokhalgay</dc:creator>
    <dc:date>2025-04-08T07:06:30Z</dc:date>
    <item>
      <title>Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4141193#M1602</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently we have noticed that the automatic&amp;nbsp;&lt;SPAN&gt;metadata discovery for our lakehouse has not been working. This has resulted in us manually refreshing the SQL endpoint for our Lakehouse each morning to ensure that the tables are up-to-date. I have been unable to find a method to do this automatically and wonder if anyone has a method of forcing this automatic metadata discovery or a method to automatically trigger the on-demand refresh button.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is a snip from the SQL Analytics End Point Performance Considerations that I have referenced, we have completed the necessary maintinance and it would be an extreme lift to move these lakehouses to individual workspaces.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;SPAN&gt;Guidance&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Automatic metadata discovery tracks changes committed to lakehouses, and is a single instance per Fabric workspace. If you are observing increased latency for changes to sync between lakehouses and SQL analytics endpoint, it could be due to large number of lakehouses in one workspace. In such a scenario, consider migrating each lakehouse to a separate workspace as this allows automatic metadata discovery to scale.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Parquet files are immutable by design. When there's an update or a delete operation, a Delta table will add new parquet files with the changeset, increasing the number of files over time, depending on frequency of updates and deletes. If there's no maintenance scheduled, eventually, this pattern creates a read overhead and this impacts time it takes to sync changes to SQL analytics endpoint. To address this, schedule regular&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-table-maintenance#execute-ad-hoc-table-maintenance-on-a-delta-table-using-lakehouse" target="_blank" rel="noopener"&gt;lakehouse table maintenance operations&lt;/A&gt;.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;In some scenarios, you might observe that changes committed to a lakehouse are not visible in the associated SQL analytics endpoint. For example, you might have created a new table in lakehouse, but it's not listed in the SQL analytics endpoint. Or, you might have committed a large number of rows to a table in a lakehouse but this data is not visible in SQL analytics endpoint. We recommend initiating an on-demand metadata sync, triggered from the SQL query editor&amp;nbsp;&lt;STRONG&gt;Refresh&lt;/STRONG&gt;&amp;nbsp;ribbon option. This option forces an on-demand metadata sync, rather than waiting on the background metadata sync to finish.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance#guidance" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance#guidance&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 18:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4141193#M1602</guid>
      <dc:creator>Bill_J99294</dc:creator>
      <dc:date>2024-09-09T18:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4142310#M1612</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="732836" data-lia-user-login="Bill_J99294" class="lia-mention lia-mention-user"&gt;Bill_J99294&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create a notebook that connects to the lakehouse corresponding to your SQL endpoint by entering the following command in the cell:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;from pyspark.sql import SparkSession

# create Spark session
spark = SparkSession.builder \
    .appName(“Refresh SQL Endpoint Metadata”) \
    .getOrCreate()

# refresh
spark.sql(“REFRESH TABLE salesorders”)

print(“Metadata refresh triggered successfully.”)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set up a daily refresh in your notebook settings so that this refresh command is executed every day.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4142310#M1612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-10T08:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4146962#M1629</link>
      <description>&lt;P&gt;they're talking about this also here:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.reddit.com/r/MicrosoftFabric/comments/1ercfha/sql_analytics_endpoint_performance/" target="_blank"&gt;https://www.reddit.com/r/MicrosoftFabric/comments/1ercfha/sql_analytics_endpoint_performance/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 10:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4146962#M1629</guid>
      <dc:creator>R1k91</dc:creator>
      <dc:date>2024-09-12T10:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4161152#M1682</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="732836" data-lia-user-login="Bill_J99294" class="lia-mention lia-mention-user"&gt;Bill_J99294&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from&amp;nbsp;R1k91&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is my follow-up just to ask if the problem has been solved?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your cooperation!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 03:03:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4161152#M1682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-20T03:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4642434#M2857</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Can we refresh the whole Lakehouse SQL Endpoint using the spark notebook, as the command it looks like it is just going to refresh the table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our customers are facing issue in which when we upload the Delta File in Lakehouse after that table is not visible even after waiting for 5 mins. So is there a way we can do via notebook, please suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 07:06:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4642434#M2857</guid>
      <dc:creator>amokhalgay</dc:creator>
      <dc:date>2025-04-08T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4682751#M2976</link>
      <description>&lt;P&gt;When we discussed this with msft, they said we should run a dummy query (e.g. SELECT count(*) ...) and then wait a bit (they didn't say how long but try to experiment with 30, 60 seconds). This should start the serverless sql endpoint and after that run the automatic refresh.&amp;nbsp;&lt;BR /&gt;We've also tried to call the undocummented API, which was working for us. &lt;A href="https://gist.github.com/MarkPryceMaherMSFT/853cdc0d9d421482814b8195aba55434" target="_blank"&gt;https://gist.github.com/MarkPryceMaherMSFT/853cdc0d9d421482814b8195aba55434&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 07:23:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4682751#M2976</guid>
      <dc:creator>jankuc</dc:creator>
      <dc:date>2025-05-07T07:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4688897#M3002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a lakehouse using schema shortcuts and I want to update the whole lakehouse which essentially contains multiple schemas. Is there a command to refresh by schema or the entire lakeouse as per the manual Metadata Sync button?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 10:01:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4688897#M3002</guid>
      <dc:creator>ReneT</dc:creator>
      <dc:date>2025-05-12T10:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Lakehouse SQL Endpoint Automatic Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4808797#M3613</link>
      <description>&lt;P&gt;How can we optmize it to run for particular schema and make sure it refresh all the tables by checking counts. so that if a tables has not been refreshed the it should automatically refresh it before calling the notebook as success.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 06:26:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Lakehouse-SQL-Endpoint-Automatic-Refresh/m-p/4808797#M3613</guid>
      <dc:creator>AnmolGan81</dc:creator>
      <dc:date>2025-08-27T06:26:20Z</dc:date>
    </item>
  </channel>
</rss>

