<?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: Performance issue with running long queries on both lakehouse and data warehouse in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3548463#M818</link>
    <description>&lt;P&gt;is there any news?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 08:10:34 GMT</pubDate>
    <dc:creator>marcoG</dc:creator>
    <dc:date>2023-11-23T08:10:34Z</dc:date>
    <item>
      <title>Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3538857#M816</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm not sure if anyone can help me? I have a performance issue with running queries on both lakehouse and data warehouse. Specifically, the queries I run do not show results incrementally; instead, the entire query is executed first and then the results are displayed. This causes several problems, and I'll mention just one: In paginated PowerBI reports, the loading of rows during report generation is no longer displayed, giving the impression that the report generation has failed. The same query executed on any other SQL database, however, shows incremental results loading during the query execution. Does anyone know what could be causing this behavior? Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 09:30:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3538857#M816</guid>
      <dc:creator>marcoG</dc:creator>
      <dc:date>2023-11-17T09:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3539552#M817</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400227" data-lia-user-login="marcoG" class="lia-mention lia-mention-user"&gt;marcoG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for using Fabric Community.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are reaching out to the internal team to get more information related to your query and will get back to you as soon as we have an update.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 17:47:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3539552#M817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-17T17:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3548463#M818</link>
      <description>&lt;P&gt;is there any news?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 08:10:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3548463#M818</guid>
      <dc:creator>marcoG</dc:creator>
      <dc:date>2023-11-23T08:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3553286#M819</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400227" data-lia-user-login="marcoG" class="lia-mention lia-mention-user"&gt;marcoG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Apologies for the delay in reply from our side. We haven't got any update from the internal.&lt;BR /&gt;Appreciate your patience.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 06:20:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3553286#M819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-27T06:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3566097#M820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400227" data-lia-user-login="marcoG" class="lia-mention lia-mention-user"&gt;marcoG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apologies for the delay in reply from our side.&amp;nbsp;We have an update from internal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;instead, the entire query is executed first and then the results are displayed&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;This is typically the way paginated reports need to work. Often grouping, sorting or something simple like a footer with "page x of y" means that the entire report needs to be processed in terms of what items fit onto each of pages and this can only be done once the entire resultset is available.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 12:35:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3566097#M820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-04T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3566152#M821</link>
      <description>&lt;P&gt;I'll be more specific:&lt;BR /&gt;Why does SQL Server return some rows during query execution but Microsoft Fabric doesn't?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general there are some operators that require all rows to come to them before they can start processing them and pass them downstream, there are other operators that are able to start streaming or pass the found rows immediately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can happen due to row destinations introduced by the user, by the optimizer or rather because, for some reason, a wrong plan is chosen for example due to insufficient statistics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When queries begin returning data immediately, but do not finish immediately, it is usually a sign that the optimizer has chosen a plan to quickly locate and return some rows using operators that have a lower startup cost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why in Fabric, even using a connection with sql server management studio, does it never happen that the results of a long query are shown before the query is completed?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 13:07:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3566152#M821</guid>
      <dc:creator>marcoG</dc:creator>
      <dc:date>2023-12-04T13:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3588381#M822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400227" data-lia-user-login="marcoG" class="lia-mention lia-mention-user"&gt;marcoG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Can you please share Statement ID of the query you are running against Fabric Warehouse?&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;We can check on our side and breakdown a query into individual operators. Perhaps, that would help explain this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 17:21:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3588381#M822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-18T17:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3592931#M823</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400227" data-lia-user-login="marcoG" class="lia-mention lia-mention-user"&gt;marcoG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you got a chance to last reply.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You can send us the information through email to&amp;nbsp;AzCommunity[at]Microsoft[dot]com&amp;nbsp;with the above details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Subject of the email: ATTN: PRADEEP - &lt;SPAN&gt;Performance issue with running long queries on both lakehouse and data warehouse&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thread Link:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/General-Discussion/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3538857#M2283" target="_blank"&gt;Performance issue with running long queries on bot... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 07:01:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3592931#M823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-20T07:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3593133#M824</link>
      <description>&lt;P&gt;The same query takes about 30 seconds on Synapse serveless pool and the results are shown incrementally straight away while on fabric I have to wait the full 4 minutes before seeing the first row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Statement ID: {15DAE41C-FB1B-4BCD-9122-D979C81368CB} | Query hash: 0xE208E8F7E40F146E | Distributed request ID: {B3013F99-8933-44B0-92BA-8DDED2D21911}&lt;/P&gt;&lt;P&gt;Msg 15806, Livello 0, Stato 1&lt;/P&gt;&lt;P&gt;(104709&amp;nbsp;record interessati)&lt;/P&gt;&lt;P&gt;9:07:49 AMTempo di esecuzione totale:&amp;nbsp;00:04:03.573&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't send email to&amp;nbsp;&lt;A href="mailto:AzCommunity@Microsoft.com" target="_blank" rel="noopener"&gt;AzCommunity@Microsoft.com&lt;/A&gt;&amp;nbsp;because i got an error:&lt;/P&gt;&lt;P&gt;Remote server returned '554 5.7.0 &amp;lt; #5.7.133 smtp;550 5.7.133 RESOLVER.RST.SenderNotAuthenticatedForGroup; authentication required; Delivery restriction check failed because the sender was not authenticated when sending to this group&amp;gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 08:23:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3593133#M824</guid>
      <dc:creator>marcoG</dc:creator>
      <dc:date>2023-12-20T08:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3593381#M825</link>
      <description>&lt;P&gt;I can't send email to&amp;nbsp;&lt;A href="mailto:AzCommunity@Microsoft.com" target="_blank" rel="noopener nofollow noreferrer"&gt;AzCommunity@Microsoft.com&lt;/A&gt;&amp;nbsp;because i got an error:&lt;/P&gt;&lt;P&gt;Remote server returned '554 5.7.0 &amp;lt; #5.7.133 smtp;550 5.7.133 RESOLVER.RST.SenderNotAuthenticatedForGroup; authentication required; Delivery restriction check failed because the sender was not authenticated when sending to this group&amp;gt;'&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 09:45:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3593381#M825</guid>
      <dc:creator>marcoG</dc:creator>
      <dc:date>2023-12-20T09:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3593406#M826</link>
      <description>&lt;P&gt;Thank you for sharing the details. Let me check with internal team.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 09:53:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3593406#M826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-20T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with running long queries on both lakehouse and data warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3603349#M827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400227" data-lia-user-login="marcoG" class="lia-mention lia-mention-user"&gt;marcoG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Once again thanks for sharing the details. I think we need to define the problem statement here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You think the query is slow in general and taking too long to execute, and shouldn't take 4 mins to complete/execute from start to end?&lt;/P&gt;
&lt;P&gt;2. Or, is the issue why is pagination not working? Why does one has to wait for all results and why can't it&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;For (1), we can check if there are any inefficiencies in the query execution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For (2), AFAIK - pagination is not supported. What you have observed where all results must be returned is expected behaviour. We had same behaviour on Synapse dedicated SQL Gen2. Perhaps this blog may help?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/paginating-results-in-synapse-sql/ba-p/1740735" target="_blank"&gt;Paginating results in Synapse SQL - Microsoft Community Hub&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 10:15:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Performance-issue-with-running-long-queries-on-both-lakehouse/m-p/3603349#M827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-27T10:15:28Z</dc:date>
    </item>
  </channel>
</rss>

