<?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: Coping up with SQL end point lag in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4177028#M4289</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&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>Thu, 26 Sep 2024 07:30:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-26T07:30:34Z</dc:date>
    <item>
      <title>Coping up with SQL end point lag</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4152625#M4107</link>
      <description>&lt;P&gt;How&amp;nbsp; is every1 coping up with the SQL end point lag which is currently killing my prod element.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is lakehouse snapshot through spark sql after I made a delta merge in the table (through notebook)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smpa01_0-1726494858893.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1168186i21CC35671E3703AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smpa01_0-1726494858893.png" alt="smpa01_0-1726494858893.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(with baked in v order in the same notebook)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smpa01_0-1726497689564.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1168217iB2A2F05531D3D8A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smpa01_0-1726497689564.png" alt="smpa01_0-1726497689564.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the same table with endpoint&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smpa01_1-1726494903975.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1168188i97BD2A511544148C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smpa01_1-1726494903975.png" alt="smpa01_1-1726494903975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ingestion_run_at is not being updated at all in the sql endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;My workflow involves running a notebook to update the lakehouse table, followed by triggering Power BI immediately after (for end-users to consume the report). However, there is clearly a lag, which makes the entire process unreliable.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;If the lag is intentional by design, what is the average delay? Knowing this would allow me to programmatically introduce a delay before refreshing the semantic model. Also, if the lag is here to stay, what the author needs to do to ensure thre is no lag (partition etc if req).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;The data from the lakehouse can be accessed using either the Sql.Database connector or the AzureStorage.DataLake connector. Which connector is &lt;STRONG&gt;NOT&lt;/STRONG&gt; impacted by the lag? I prioritize accuracy over performance in this case. AzureStorage.DataLake is probably better from accuracy standpoint compared to Sql.Database connector. Please confirm.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="4"&gt;
&lt;LI&gt;The Sql.Database connector has the advantage of supporting fully qualified SQL queries, making it more desirable than the AzureStorage.DataLake connector (since writing Power Query is not ideal). Therefore, if the lag is known (point #2), I could introduce a fixed delay between the notebook execution and the semantic model refresh.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is Microsoft aware of this delay? Are there any official documents that acknowledge this issue or provide a potential solution with a timeline?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At present, the SQL endpoint is unusable for production without this information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 14:42:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4152625#M4107</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-09-16T14:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Coping up with SQL end point lag</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4153835#M4121</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under normal circumstances, the lag time should be less than a minute, and you can refer to the following document for more information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance" target="_blank"&gt;SQL analytics endpoint performance considerations - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several reasons why you get stale data when querying the sql endpoint. If you load data into the table via a notebook, the first query you run on the endpoint will freeze the data for all other queries until it completes. If the initial query runs for a long time, you will get stale data for all subsequent queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try the workaround mentioned here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/SQL-Endpoint-Slow-To-Reflect-Changes-In-Lakehouse/m-p/3702574" target="_blank"&gt;Solved: SQL Endpoint Slow To Reflect Changes In Lakehouse - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Between the Sql.Database connector and the AzureStorage.DataLake connector, the latter is generally more accurate as it directly accesses the data in the lakehouse. However, the Sql.Database connector supports fully qualified SQL queries, which might be more convenient for your use case. If accuracy is your priority, AzureStorage.DataLake is the better choice.&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, 17 Sep 2024 06:29:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4153835#M4121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-17T06:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Coping up with SQL end point lag</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4154383#M4125</link>
      <description>&lt;P&gt;Can you please elaborate with example&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;the first query you run on the endpoint will freeze the data for all other queries until it completes. If the initial query runs for a long time, you will get stale data for all subsequent queries&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you suggesting that, if different semantic models send out different queries to sql end point at the same time , they could be completely inaccurate due to the condition mentioned above?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 12:54:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4154383#M4125</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-09-17T12:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Coping up with SQL end point lag</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4156134#M4137</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to know more, please refer to the 11th reply of this similar case:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/SQL-Endpoint-Slow-To-Reflect-Changes-In-Lakehouse/td-p/3702574/page/2" target="_blank"&gt;Solved: SQL Endpoint Slow To Reflect Changes In Lakehouse - Page 2 - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This also provides some workarounds.&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>Wed, 18 Sep 2024 08:23:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4156134#M4137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-18T08:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Coping up with SQL end point lag</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4169699#M4230</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&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>Tue, 24 Sep 2024 07:17:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4169699#M4230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-24T07:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Coping up with SQL end point lag</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4177028#M4289</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&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>Thu, 26 Sep 2024 07:30:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Coping-up-with-SQL-end-point-lag/m-p/4177028#M4289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-26T07:30:34Z</dc:date>
    </item>
  </channel>
</rss>

