<?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: Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113245#M44476</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Brahma,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to extend my deepest gratitude for your detailed and insightful response. Your explanation was incredibly helpful, and your advice on scheduling, targeting recent partitions, and monitoring performance has given me a clear path forward. I truly appreciate the time and effort you invested in sharing your expertise. Your support means a lot, and I feel much more confident moving ahead thanks to your guidance.&lt;/P&gt;&lt;P&gt;Thank you once again for all your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Yutaro&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 02:53:09 GMT</pubDate>
    <dc:creator>Yutaro</dc:creator>
    <dc:date>2025-03-21T02:53:09Z</dc:date>
    <item>
      <title>Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113032#M44399</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I’m planning to create a Delta Lake table on Databricks with an estimated size of ~50 TiB. The table includes three date columns — year, month, and day — and most of my queries will filter on these fields.&lt;/P&gt;&lt;P&gt;I’m trying to decide whether to use partitioning or clustering (Z‑Ordering) for this table. Which approach would you recommend for optimal query performance, file management, and maintenance at this scale? Are there any best‑practice guidelines around:&lt;/P&gt;&lt;P&gt;Choosing partition keys and granularity for date data&lt;BR /&gt;When to prefer clustering over partitioning (or vice versa)&lt;BR /&gt;Expected impact on data skipping, file sizes, and maintenance overhead&lt;BR /&gt;Any advice — including example configurations or links to relevant documentation — would be greatly appreciated. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 10:20:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113032#M44399</guid>
      <dc:creator>Yutaro</dc:creator>
      <dc:date>2025-03-19T10:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113099#M44425</link>
      <description>&lt;P&gt;Hi Yutaro,&lt;/P&gt;&lt;P&gt;How are you doing today?, As per my understanding,&amp;nbsp;For a 50 TiB Delta table, a mix of partitioning and clustering (Z-Ordering) will give you the best performance and manageability. Since your queries filter by year, month, and day, I’d recommend partitioning by year and month—this keeps partitions at a reasonable size without creating too many small files. Partitioning by day could lead to too many tiny files, which would slow things down. To further optimize query performance, Z-Order on the day column (or another frequently queried field) within each partition. This helps Databricks group similar data together, improving data skipping and query speed. A good setup would be to partition by (year, month) and then periodically run OPTIMIZE ... ZORDER BY day; to keep things efficient. This approach balances query speed, storage efficiency, and maintenance effort. Let me know if you need help fine-tuning it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 03:33:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113099#M44425</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-03-20T03:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113234#M44474</link>
      <description>&lt;P&gt;Hi Brahma,&lt;/P&gt;&lt;P&gt;Thank you so much for your detailed explanation and clear recommendations! Partitioning by year and month, combined with regularly running OPTIMIZE … ZORDER BY day, makes perfect sense for balancing performance and manageability at this scale. I’ll implement this approach and monitor file sizes and query speed as you suggested.&lt;/P&gt;&lt;P&gt;If you have any tips on how often I should schedule the OPTIMIZE job for a 50 TiB table, I’d greatly appreciate it.&lt;/P&gt;&lt;P&gt;Thanks again for your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Yutaro&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 23:51:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113234#M44474</guid>
      <dc:creator>Yutaro</dc:creator>
      <dc:date>2025-03-20T23:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113241#M44475</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hey Yutaro, glad to hear the plan made sense! For a 50 TiB table, a good starting point is to run &lt;/SPAN&gt;&lt;SPAN&gt;OPTIMIZE&lt;/SPAN&gt; &lt;SPAN&gt;daily or every couple of days&lt;/SPAN&gt;&lt;SPAN&gt; if you're ingesting data frequently—this helps keep query performance sharp without too much overhead. If your updates are less frequent, running it &lt;/SPAN&gt;&lt;SPAN&gt;weekly&lt;/SPAN&gt;&lt;SPAN&gt; could be enough. To make it more efficient, you can &lt;/SPAN&gt;&lt;SPAN&gt;target only recent partitions&lt;/SPAN&gt;&lt;SPAN&gt; (like the latest month) using a &lt;/SPAN&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;SPAN&gt; clause in your &lt;/SPAN&gt;&lt;SPAN&gt;OPTIMIZE&lt;/SPAN&gt;&lt;SPAN&gt; statement, which avoids reprocessing older data. Also, try to schedule the job during &lt;/SPAN&gt;&lt;SPAN&gt;off-peak hours&lt;/SPAN&gt;&lt;SPAN&gt; to reduce impact on other workloads. Keep an eye on file sizes and query performance, and adjust the frequency if needed. Let me know how it goes!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Mar 2025 02:11:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113241#M44475</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-03-21T02:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113245#M44476</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Brahma,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to extend my deepest gratitude for your detailed and insightful response. Your explanation was incredibly helpful, and your advice on scheduling, targeting recent partitions, and monitoring performance has given me a clear path forward. I truly appreciate the time and effort you invested in sharing your expertise. Your support means a lot, and I feel much more confident moving ahead thanks to your guidance.&lt;/P&gt;&lt;P&gt;Thank you once again for all your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Yutaro&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 02:53:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113245#M44476</guid>
      <dc:creator>Yutaro</dc:creator>
      <dc:date>2025-03-21T02:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Partitioning vs. Clustering for a 50 TiB Delta Lake Table on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113249#M44478</link>
      <description>&lt;P&gt;Hey Yutaro,&lt;/P&gt;&lt;P&gt;Thank you so much for the kind words—it honestly means a lot! I'm really glad the guidance helped and that you're feeling more confident moving forward. You're doing all the right things by asking the right questions and planning ahead. If you ever run into anything else or just want to bounce around ideas, feel free to reach out anytime. Always happy to help!&lt;/P&gt;&lt;P&gt;Wishing you all the best with your project!&lt;BR /&gt;– Brahma&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 03:13:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/partitioning-vs-clustering-for-a-50-tib-delta-lake-table-on/m-p/113249#M44478</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-03-21T03:13:09Z</dc:date>
    </item>
  </channel>
</rss>

