<?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 execution plan explain and optimize the performance for query run. in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9378#M195</link>
    <description>&lt;P&gt;It depends on many different things.  For the most part, you don't optimize queries.  You can optimize the file layout using optimize/binpacking, bloom filters, and zordering but you can't generate stats or influence the query plan.  &lt;/P&gt;&lt;P&gt;The idea of "optimizing" has become a bit of a dated way of thinking.  Spark has AQE, CBO, and Catalyst do do much of this work for you.  Databricks also adds things like disc caching to help too.  &lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 14:13:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-15T14:13:06Z</dc:date>
    <item>
      <title>SQL Query execution plan explain and optimize the performance for query run.</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9376#M193</link>
      <description>&lt;P&gt;When we executing SQL query in databricks SQL warehouse editor what will be best practices to optimize the execution plan and get result faster&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:02:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9376#M193</guid>
      <dc:creator>vinaykumar</dc:creator>
      <dc:date>2025-03-21T13:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query execution plan explain and optimize the performance for query run.</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9377#M194</link>
      <description>&lt;P&gt;This will mostly depend on the query you are trying to run. Some general optimization recommendations can be found here: &lt;A href="https://docs.databricks.com/optimizations/index.html" target="test_blank"&gt;https://docs.databricks.com/optimizations/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, you can also check the SQL plan for factors like Data Skew, type of join etc.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 17:38:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9377#M194</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-02-14T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query execution plan explain and optimize the performance for query run.</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9378#M195</link>
      <description>&lt;P&gt;It depends on many different things.  For the most part, you don't optimize queries.  You can optimize the file layout using optimize/binpacking, bloom filters, and zordering but you can't generate stats or influence the query plan.  &lt;/P&gt;&lt;P&gt;The idea of "optimizing" has become a bit of a dated way of thinking.  Spark has AQE, CBO, and Catalyst do do much of this work for you.  Databricks also adds things like disc caching to help too.  &lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 14:13:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9378#M195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-15T14:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query execution plan explain and optimize the performance for query run.</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9379#M196</link>
      <description>&lt;P&gt;Hi @vinay kumar​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 06:14:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9379#M196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-20T06:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query execution plan explain and optimize the performance for query run.</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9380#M197</link>
      <description>&lt;P&gt;HI @vinay kumar​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 18:23:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-query-execution-plan-explain-and-optimize-the-performance/m-p/9380#M197</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-02-23T18:23:05Z</dc:date>
    </item>
  </channel>
</rss>

