<?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: How can I know if databricks auto-detected to use tuneFileSizesForRewrites? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-i-know-if-databricks-auto-detected-to-use/m-p/3666#M638</link>
    <description>&lt;P&gt;Hi @Ron Serruya​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jun 2023 10:02:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-17T10:02:16Z</dc:date>
    <item>
      <title>How can I know if databricks auto-detected to use tuneFileSizesForRewrites?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-know-if-databricks-auto-detected-to-use/m-p/3665#M637</link>
      <description>&lt;P&gt;We are having some issues with merge performance, so I went and read a bit in the documentation, I found this section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/delta/tune-file-size.html#autotune-file-size-based-on-workload" target="test_blank"&gt;https://docs.databricks.com/delta/tune-file-size.html#autotune-file-size-based-on-workload&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Databricks recommends setting the table property&amp;nbsp;delta.tuneFileSizesForRewrites&amp;nbsp;to&amp;nbsp;true&amp;nbsp;for all tables that are targeted by many&amp;nbsp;MERGE or DML operations"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table doesn't have this attribute, I didn't define it on table creation, and neither do I see it when i use show table properties / describe table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I also saw this:&lt;/P&gt;&lt;P&gt;"If not explicitly set, Databricks automatically detects if 9 out of last 10 previous operations on a Delta table were&amp;nbsp;MERGE&amp;nbsp;operations and sets this table property to&amp;nbsp;true."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the operations on my table are either MERGE/OPTIMIZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Does these OPTIMIZE operations count as non-merge operations and therefore causes auto-detect to fail?&lt;/P&gt;&lt;P&gt;2.How can I know if this feature was actually used? Will I see this as a new table property on my table? or will this happen "behind the scenes" without me being able to tell?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 13:27:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-know-if-databricks-auto-detected-to-use/m-p/3665#M637</guid>
      <dc:creator>ron_lusha</dc:creator>
      <dc:date>2023-06-04T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I know if databricks auto-detected to use tuneFileSizesForRewrites?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-know-if-databricks-auto-detected-to-use/m-p/3666#M638</link>
      <description>&lt;P&gt;Hi @Ron Serruya​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2023 10:02:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-know-if-databricks-auto-detected-to-use/m-p/3666#M638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-17T10:02:16Z</dc:date>
    </item>
  </channel>
</rss>

