<?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: When to increase maximum bound vs when to increase cluster size? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27884#M19727</link>
    <description>&lt;P&gt;@Joseph Kambourakis​&amp;nbsp;great thanks.&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; Just to make things clear, here Query 1 is fired first followed by Query2, Query3, etc. like that in sequential order. So if Query 1 runs on say 4 worker nodes of the same VM instead of 2 worker nodes (option B) and similarly for Query 2, Query 3, etc. won't that address the performance issue highlighted in the question&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 15:38:55 GMT</pubDate>
    <dc:creator>jerry747847</dc:creator>
    <dc:date>2022-10-13T15:38:55Z</dc:date>
    <item>
      <title>When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27880#M19723</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the below question, I am trying to understand why option &lt;B&gt;C&lt;/B&gt; was selected instead of &lt;B&gt;B&lt;/B&gt;? As &lt;B&gt;B&lt;/B&gt; would also have resolved the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 40&lt;/P&gt;&lt;P&gt;A data analyst has noticed that their Databricks SQL queries are running too slowly. They claim that this issue is affecting all of their sequentially run queries. They ask the data engineering team for help. The data engineering team notices that each of the queries uses the same SQL endpoint, but the SQL endpoint is not used by any other user. Which of the following approaches can the data engineering team use to improve the latency of the data analyst’s queries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. They can turn on the Serverless feature for the SQL endpoint.&lt;/P&gt;&lt;P&gt;B. They can increase the maximum bound of the SQL endpoint’s scaling range.&lt;/P&gt;&lt;P&gt;&lt;B&gt;C. They can increase the cluster size of the SQL endpoint.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;D. They can turn on the Auto Stop feature for the SQL endpoint.&lt;/P&gt;&lt;P&gt;E. They can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to “Reliability Optimized.”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://files.training.databricks.com/assessments/practice-exams/PracticeExam-DataEngineerAssociate.pdf?_ga=2.185796329.1103386439.1663221490-957565140.1661854848" alt="https://files.training.databricks.com/assessments/practice-exams/PracticeExam-DataEngineerAssociate.pdf?_ga=2.185796329.1103386439.1663221490-957565140.1661854848" target="_blank"&gt;This is the link for the practice exam&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 06:43:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27880#M19723</guid>
      <dc:creator>jerry747847</dc:creator>
      <dc:date>2022-10-12T06:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27881#M19724</link>
      <description>&lt;P&gt;I think the key is the word sequential.  If the queries are sequential, they won't trigger autoscaling.  For sequential, you'd want a larger VM.  Autoscaling will be triggered by lots of cluster use/many queries.  &lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 17:53:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27881#M19724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-12T17:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27882#M19725</link>
      <description>&lt;P&gt;@Joseph Kambourakis​&amp;nbsp;Thanks a lot for your response. Yes, I agree with you. By autoscaling, you meant adding new clusters or adding more worker nodes to the existing cluster? Can you please share any references you have on this?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:04:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27882#M19725</guid>
      <dc:creator>jerry747847</dc:creator>
      <dc:date>2022-10-13T15:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27883#M19726</link>
      <description>&lt;P&gt;&lt;A href="https://docs.databricks.com/clusters/configure.html#cluster-size-and-autoscaling" target="test_blank"&gt;https://docs.databricks.com/clusters/configure.html#cluster-size-and-autoscaling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Autoscaling is automatic cluster sizing up or down by adding or removing VMs to an existing cluster.  &lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:13:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27883#M19726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T15:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27884#M19727</link>
      <description>&lt;P&gt;@Joseph Kambourakis​&amp;nbsp;great thanks.&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; Just to make things clear, here Query 1 is fired first followed by Query2, Query3, etc. like that in sequential order. So if Query 1 runs on say 4 worker nodes of the same VM instead of 2 worker nodes (option B) and similarly for Query 2, Query 3, etc. won't that address the performance issue highlighted in the question&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:38:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27884#M19727</guid>
      <dc:creator>jerry747847</dc:creator>
      <dc:date>2022-10-13T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27885#M19728</link>
      <description>&lt;P&gt;The key is sequential.  2 has to wait for 1.  The autoscaling is triggered by jobs sitting in the queue.  2 won't be in the queue yet because it's waiting for 1 to finish and then it gets added.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all the queries were submitted at the same time, then more autoscaling would help.  &lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:46:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27885#M19728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T15:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: When to increase maximum bound vs when to increase cluster size?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27886#M19729</link>
      <description>&lt;P&gt;On a sql server, there are wait states. Wait states occur when several processors (vCPUs) are processing and several threads are working through the processors. A longer running thread that has dependencies, can cause the thread that may have begun on a different process, but is dependent on the one that has the longer running thread to complete, will cause a wait state and slow down the dependent query. From the sysadmin POV, this could also be seen as hard faults in memory. The issue above from a SQL perspective is to increase the maximum bound which add endpoints (threads) and logically create additional flows - more streams, faster flow. From the sysadmin POV, adding additional clusters to increase the size of the endpoint would also solve the problem because the amount of memory allows for swifter execution. In either case, it should resolve the issue. It would make more sense to allow Azure or AWS to sort this out with a Serverless feature that is Reliably Optimizied. However, that feature will simply perform the feat of scaling the cluster. Assuming AWS/Azure have a handle on it, and their methodology is to scale the cluster, the better answer..., based on their handling of the situation, is to scale upward with the cluster. I suspect the answer here is the Databricks people aren't always thinking like SQL Server database administrators. They have lots of cluster power. Frankly, if it were my issue, I would try the maximum bound increase first. If that didn't work then I'd go for the increased cluster size. But my thinking is a cost optimization. There is not a part of the question that asks how to do this in a cost effective way. So - final answer - C: boost the cluster.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 16:52:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-to-increase-maximum-bound-vs-when-to-increase-cluster-size/m-p/27886#M19729</guid>
      <dc:creator>JRL</dc:creator>
      <dc:date>2023-02-07T16:52:56Z</dc:date>
    </item>
  </channel>
</rss>

