<?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: Optimize and Vacuum - which is the best order of operations? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11742#M6676</link>
    <description>&lt;P&gt;I agree with you @Werner Stinckens​&amp;nbsp;. I will always do optimize to try to compact the files more (default size is 1 gb) and then run vacuum. Vacuum will remove the old files that are no longer needed or have been marked as obsoleted by the optimize command.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 00:30:20 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2021-11-05T00:30:20Z</dc:date>
    <item>
      <title>Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11737#M6671</link>
      <description>&lt;P&gt;Optimize -&amp;gt; Vacuum&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Vacuum -&amp;gt; Optimize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 16:26:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11737#M6671</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-11-03T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11738#M6672</link>
      <description>&lt;P&gt;I am asking some questions as nobody is writing today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 16:26:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11738#M6672</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-11-03T16:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11739#M6673</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 16:28:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11739#M6673</guid>
      <dc:creator>Piper_Wilson</dc:creator>
      <dc:date>2021-11-03T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11740#M6674</link>
      <description>&lt;P&gt;In my opinion as Vacuum remove old files so is better to do Vacuum first so there will be less files to optimize but maybe in some cases it will be faster to delete optimized already files (so optimize first) &lt;span class="lia-unicode-emoji" title=":white_question_mark:"&gt;❔&lt;/span&gt;️ &lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 16:30:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11740#M6674</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-11-03T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11741#M6675</link>
      <description>&lt;P&gt;I optimize first as delta lake knows which files are relevant for the optimize.  Like that I have my optimized data available faster.  Then a vacuum.  Seemed logical to me, but I might be wrong.  Never actually thought about it&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 12:17:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11741#M6675</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2021-11-04T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11742#M6676</link>
      <description>&lt;P&gt;I agree with you @Werner Stinckens​&amp;nbsp;. I will always do optimize to try to compact the files more (default size is 1 gb) and then run vacuum. Vacuum will remove the old files that are no longer needed or have been marked as obsoleted by the optimize command.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 00:30:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/11742#M6676</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-11-05T00:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize and Vacuum - which is the best order of operations?</title>
      <link>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/100064#M40179</link>
      <description>&lt;P&gt;What about ReOrg delta table&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/delta-reorg-table" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/delta-reorg-table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does it help or make sense to add Re-org then Optimize - Vacuum every week?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reorganize a Delta Lake table by rewriting files to purge soft-deleted data, such as the column data dropped by ALTER TABLE DROP COLUMN.&lt;/SPAN&gt;&lt;BR /&gt;Does it mean, it only touches the delta logs for deleted columns or data and not the actual data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 12:04:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/optimize-and-vacuum-which-is-the-best-order-of-operations/m-p/100064#M40179</guid>
      <dc:creator>shadowinc</dc:creator>
      <dc:date>2024-11-26T12:04:15Z</dc:date>
    </item>
  </channel>
</rss>

