<?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 Is it more performant to run optimize table commands on a serverless SQL warehouse or elsewhere? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/68686#M33723</link>
    <description>&lt;P&gt;Is it more performant to run optimize table commands on a serverless SQL warehouse or in a job or all-purpose compute cluster? I would presume a serverless warehouse would be faster, but I don't know how to test this.&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 03:02:51 GMT</pubDate>
    <dc:creator>ac0</dc:creator>
    <dc:date>2024-05-10T03:02:51Z</dc:date>
    <item>
      <title>Is it more performant to run optimize table commands on a serverless SQL warehouse or elsewhere?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/68686#M33723</link>
      <description>&lt;P&gt;Is it more performant to run optimize table commands on a serverless SQL warehouse or in a job or all-purpose compute cluster? I would presume a serverless warehouse would be faster, but I don't know how to test this.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 03:02:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/68686#M33723</guid>
      <dc:creator>ac0</dc:creator>
      <dc:date>2024-05-10T03:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it more performant to run optimize table commands on a serverless SQL warehouse or elsewhere?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/69170#M33834</link>
      <description>&lt;P&gt;I am not so sure a serverless cluster would be faster than a photon-enabled interactive/job cluster (assuming the same scale).&lt;BR /&gt;You could do a test with a deep clone of the table and apply optimize on both using different clusters.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 14:07:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/69170#M33834</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-05-16T14:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it more performant to run optimize table commands on a serverless SQL warehouse or elsewhere?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/69176#M33837</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97999"&gt;@ac0&lt;/a&gt;&amp;nbsp;Good day!&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Serverless SQL warehouses are likely to execute "optimize table" commands faster than job or all-purpose compute clusters due to their rapid startup time, quick upscaling for low latency, and efficient handling of varying query demand. They also downscale quickly to minimize costs when demand is low. To compare execution speeds, set up a serverless SQL warehouse and a compute cluster with similar configurations. Run the "optimize table" command on the same table in both environments and measure the execution time. Repeat the test multiple times to get an average time. Finally, compare the average execution times to determine which is faster. Remember, actual performance can vary based on factors like specific configuration, resources, table size and complexity, and current system load and network conditions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good reads:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1. &lt;A href="https://docs.databricks.com/en/admin/sql/warehouse-types.html" target="_blank"&gt;https://docs.databricks.com/en/admin/sql/warehouse-types.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://docs.databricks.com/en/lakehouse-architecture/performance-efficiency/best-practices.html" target="_blank"&gt;https://docs.databricks.com/en/lakehouse-architecture/performance-efficiency/best-practices.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let us know if you have any further queries or concerns.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Yesh&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 15:35:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-more-performant-to-run-optimize-table-commands-on-a/m-p/69176#M33837</guid>
      <dc:creator>Yeshwanth</dc:creator>
      <dc:date>2024-05-16T15:35:43Z</dc:date>
    </item>
  </channel>
</rss>

