<?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 Should I use Z Ordering on my Delta table every time I run Optimize? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/should-i-use-z-ordering-on-my-delta-table-every-time-i-run/m-p/23484#M16209</link>
    <description>&lt;P&gt;Wondering if it always makes sense or if there are some situations where you might only want to run optimize&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 03:52:14 GMT</pubDate>
    <dc:creator>User16826992666</dc:creator>
    <dc:date>2021-06-17T03:52:14Z</dc:date>
    <item>
      <title>Should I use Z Ordering on my Delta table every time I run Optimize?</title>
      <link>https://community.databricks.com/t5/data-engineering/should-i-use-z-ordering-on-my-delta-table-every-time-i-run/m-p/23484#M16209</link>
      <description>&lt;P&gt;Wondering if it always makes sense or if there are some situations where you might only want to run optimize&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 03:52:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/should-i-use-z-ordering-on-my-delta-table-every-time-i-run/m-p/23484#M16209</guid>
      <dc:creator>User16826992666</dc:creator>
      <dc:date>2021-06-17T03:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Z Ordering on my Delta table every time I run Optimize?</title>
      <link>https://community.databricks.com/t5/data-engineering/should-i-use-z-ordering-on-my-delta-table-every-time-i-run/m-p/23485#M16210</link>
      <description>&lt;P&gt;Its good idea to optimize at end of each batch job to avoid any small files situation, Z order is optional and can be applied on few non partition columns which are used frequently in read operations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZORDER&amp;nbsp;BY -&amp;gt; &lt;/P&gt;&lt;P&gt;Colocate column information in the same set of files. Co-locality is used by Delta Lake data-skipping algorithms to dramatically reduce the amount of data that needs to be read. You can specify multiple columns for&amp;nbsp;ZORDER&amp;nbsp;BY &amp;nbsp;as a comma-separated list. However, the effectiveness of the locality drops with each additional column. Z-Ordering is&amp;nbsp;&lt;I&gt;not idempotent&lt;/I&gt;&amp;nbsp;but aims to be an incremental operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 19:47:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/should-i-use-z-ordering-on-my-delta-table-every-time-i-run/m-p/23485#M16210</guid>
      <dc:creator>Srikanth_Gupta_</dc:creator>
      <dc:date>2021-06-17T19:47:45Z</dc:date>
    </item>
  </channel>
</rss>

