<?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: Photon and Predictive I/O vs. Liquid Clustering in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/121312#M46418</link>
    <description>&lt;P&gt;Hey, thanks for the reply. Could you share some documentation links around those bullet points in your answer? thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jun 2025 09:21:25 GMT</pubDate>
    <dc:creator>korasino</dc:creator>
    <dc:date>2025-06-10T09:21:25Z</dc:date>
    <item>
      <title>Photon and Predictive I/O vs. Liquid Clustering</title>
      <link>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/120703#M46230</link>
      <description>&lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Quick question about optimizing our Delta tables. Photon and Predictive I/O vs. Liquid Clustering (LC).&lt;BR /&gt;We have UUIDv4 columns (random, high-cardinality) used in both WHERE uuid = … filters and joins. From what I understand Photon (on Serverless warehouses) automatically does dynamic file pruning - building dynamic bloom style filters while querying and using table statistics for data skipping for point lookups (`WHERE uuid = ...`).&lt;BR /&gt;So:&lt;BR /&gt;1. LC vs Photon on a UUIDv4:&lt;BR /&gt;LC tightens min/max per file on UUIDv4, but Photon also does dynamic pruning already and skips blocks for WHERE uuid = … or joins (?). Is LC on UUIDv4 basically redundant since Photon handles the skipping? Does LC add any extra performance for point lookups or joins on UUIDv4?&lt;BR /&gt;2. Could LC on UUIDv4 hurt&lt;BR /&gt;UUIDv4 values are random, so LC would distribute those evenly - does this mean that it could actually hurt the rest of our optimization columns (like tstamps, grouping ids)&lt;BR /&gt;3. Joins on UUIDv4 with Photon:&lt;BR /&gt;When joining two large tables on a random UUID key, Photon will skip non-matching file blocks. Does LC’s min/max on UUIDv4 actually reduce shuffle or I/O for these joins, or does Photon already cover that? for join-heavy workloads on UUIDv4, is LC doing anything extra?&lt;BR /&gt;4. Where LC makes sense:&lt;BR /&gt;We have other columns that are high-cardinality but naturally ordered—like event timestamps (or maybe UUIDv7 in the future). LC on those should co-locate ranges and improve both filters and joins. Should we focus LC on timestamp or UUIDv7 instead, and just rely on Photon for UUIDv4?&lt;BR /&gt;Would love to hear any real-world experiences or best practices. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 10:11:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/120703#M46230</guid>
      <dc:creator>korasino</dc:creator>
      <dc:date>2025-06-02T10:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Photon and Predictive I/O vs. Liquid Clustering</title>
      <link>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/120913#M46275</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/166830"&gt;@korasino&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Liquid Clustering (LC) tightens file-level min/max stats on UUIDv4, but since Photon already handles dynamic pruning and data skipping using bloom-style filters and table stats, LC adds little to no benefit for point lookups (WHERE uuid = ...) or joins.&lt;/LI&gt;&lt;LI&gt;Because UUIDv4 values are random, LC distributes data evenly across files, which can actually hurt clustering on more useful columns like, timestamps reducing performance for time-based queries.&lt;/LI&gt;&lt;LI&gt;Photon also handles join filtering efficiently, so LC on UUIDv4 doesn’t help reduce shuffle or I/O further in join-heavy workloads.&lt;/LI&gt;&lt;LI&gt;Instead, LC is best used on naturally ordered columns like event timestamps or UUIDv7, where it can meaningfully improve query performance. For UUIDv4, relying on Photon alone is typically the better approach.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:36:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/120913#M46275</guid>
      <dc:creator>SP_6721</dc:creator>
      <dc:date>2025-06-04T11:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Photon and Predictive I/O vs. Liquid Clustering</title>
      <link>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/121312#M46418</link>
      <description>&lt;P&gt;Hey, thanks for the reply. Could you share some documentation links around those bullet points in your answer? thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 09:21:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/photon-and-predictive-i-o-vs-liquid-clustering/m-p/121312#M46418</guid>
      <dc:creator>korasino</dc:creator>
      <dc:date>2025-06-10T09:21:25Z</dc:date>
    </item>
  </channel>
</rss>

