<?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: Understand cluster activity Serverless SQL in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89418#M1535</link>
    <description />
    <pubDate>Wed, 11 Sep 2024 08:26:46 GMT</pubDate>
    <dc:creator>EmmaP</dc:creator>
    <dc:date>2024-09-11T08:26:46Z</dc:date>
    <item>
      <title>Understand cluster activity Serverless SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89415#M1534</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following abnormally high costs when using serverless sql on September 9 and 10, I noticed that the cluster sometimes stays on for an hour even though it's not receiving any new requests, and that the auto-stop is set to 5 minutes of inactivity.&lt;/P&gt;&lt;P&gt;Is there an explanation for this?&lt;/P&gt;&lt;P&gt;Thank you for your help.&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="serverless_activity_anomaly.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11067i3F21C4E3DBF706F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="serverless_activity_anomaly.png" alt="serverless_activity_anomaly.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 08:28:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89415#M1534</guid>
      <dc:creator>EmmaP</dc:creator>
      <dc:date>2024-09-11T08:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Understand cluster activity Serverless SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89418#M1535</link>
      <description />
      <pubDate>Wed, 11 Sep 2024 08:26:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89418#M1535</guid>
      <dc:creator>EmmaP</dc:creator>
      <dc:date>2024-09-11T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Understand cluster activity Serverless SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89420#M1536</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88248"&gt;@EmmaP&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have you checked the monitoring tab?&amp;nbsp;&lt;BR /&gt;Any active sessions, queued queries that could block cluster from terminating?&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/compute/sql-warehouse/monitor" target="_blank"&gt;Monitor a SQL warehouse - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 08:30:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89420#M1536</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-09-11T08:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Understand cluster activity Serverless SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89436#M1537</link>
      <description>&lt;P&gt;Yes I checked the monitoring tab. I don't see any active or queued query after 12:05.&amp;nbsp;And none of the previous queries (executed before 12:05) took longer than 10 seconds.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 09:37:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/89436#M1537</guid>
      <dc:creator>EmmaP</dc:creator>
      <dc:date>2024-09-11T09:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Understand cluster activity Serverless SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/90573#M1548</link>
      <description>&lt;P&gt;I have the impression that the cluster's auto-stop (set to turn off the cluster after 5 minutes of inactivity) does not work when the last request was sent from Power BI Services.&amp;nbsp;Has anyone encountered this issue?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EmmaP_0-1726491197092.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11251i564BD3331B52D623/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EmmaP_0-1726491197092.png" alt="EmmaP_0-1726491197092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 13:01:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/90573#M1548</guid>
      <dc:creator>EmmaP</dc:creator>
      <dc:date>2024-09-16T13:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Understand cluster activity Serverless SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/90611#M1549</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88248"&gt;@EmmaP&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;I have encountered this. Even though the UI says that they are complete, they actually are not. While the query itself completed, the client is still fetching the data from the SQL Warehouse.&lt;/P&gt;&lt;P&gt;To check if this is your issue, from the monitoring page (shown in your screenshot) click one of the queries to open the details panel. Then check the "Result fetching by client" metric. While queries are in progress (or show as "Finished") -- If it's null or doesn't show a value, that means the client is still fetching the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to really be a problem with Power BI - for some reason it leaves the connection open. I'm not sure if it actually completes fetching the data. Databricks kills these connections after one hour -- which is what I think you're seeing in your screenshot. After the one-hour timeout, the query should swap (I think) from "Finished" to "Failed" and show the error "Query has been timed out due to inactivity."&lt;/P&gt;&lt;P&gt;To combat this, I have a workflow that runs every hour to check if any queries are stuck fetching data -- and if so, kill the queries.&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 16:30:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/understand-cluster-activity-serverless-sql/m-p/90611#M1549</guid>
      <dc:creator>RCo</dc:creator>
      <dc:date>2024-09-16T16:30:38Z</dc:date>
    </item>
  </channel>
</rss>

