<?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: SQL query takes too long to run in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21885#M14953</link>
    <description>&lt;P&gt;Hi @Jensen Ackles​&amp;nbsp;, Could you please do a tcpdump to the endpoint and check the hops. Also, checking network logs may help too. Also, is the query heavy? Was it working fine before (on-time)? &lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 06:57:26 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-11-18T06:57:26Z</dc:date>
    <item>
      <title>SQL query takes too long to run</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21884#M14952</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a set up SQL query run with 5 hours but the SQL endpoint take too long to start up with each run. Currently I don't know how to fix this &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help me how to improve this?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 03:47:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21884#M14952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-18T03:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query takes too long to run</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21886#M14954</link>
      <description>&lt;P&gt;Actually, sometime it works ok, sometime it takes too long. BTW, I will get a tcpdump to check.&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 07:40:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21886#M14954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-18T07:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query takes too long to run</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21887#M14955</link>
      <description>&lt;P&gt;It's possible the connectivity to hive metastore is causing the delay here. When there is a high degree of concurrency and contention for metastore access. Interactive clusters in DBR are configured to use up to 5 (spark.databricks.hive.metastore.client.pool.size) hive clients. So if there are more than 5 concurrently running queries that are accessing the hive for a longer time, then there could be slowness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easy solution to try is to increase "spark.databricks.hive.metastore.client.pool.size" . Try increasing to 32 and see if there is an improvement.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 04:52:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21887#M14955</guid>
      <dc:creator>Unforgiven</dc:creator>
      <dc:date>2022-11-22T04:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query takes too long to run</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21888#M14956</link>
      <description>&lt;P&gt;or refer on this : Faster SQL Queries on Delta Lake with Dynamic File Pruning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.databricks.com/blog/2020/04/30/faster-sql-queries-on-delta-lake-with-dynamic-file-pruning.html" target="test_blank"&gt;https://www.databricks.com/blog/2020/04/30/faster-sql-queries-on-delta-lake-with-dynamic-file-pruning.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 04:54:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21888#M14956</guid>
      <dc:creator>Unforgiven</dc:creator>
      <dc:date>2022-11-22T04:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query takes too long to run</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21885#M14953</link>
      <description>&lt;P&gt;Hi @Jensen Ackles​&amp;nbsp;, Could you please do a tcpdump to the endpoint and check the hops. Also, checking network logs may help too. Also, is the query heavy? Was it working fine before (on-time)? &lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 06:57:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-query-takes-too-long-to-run/m-p/21885#M14953</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-18T06:57:26Z</dc:date>
    </item>
  </channel>
</rss>

