Skip to content

BuildNot yet confirmed elsewhere1 publisher2 min readPublished

ZOrder with date as a secondary key ran 78% slower than partitioning in a Delta Lake benchmark

A Delta Lake benchmark on 50 million records found ZOrder 78% slower than date partitioning on time ranges when date was a secondary key. Its author makes Liquid Clustering the default for diverse or evolving query patterns on the strength of a single benchmark.

The Engineer · Build desk

How we use AISend a correction

Illustration accompanying ZOrder with date as a secondary key ran 78% slower than partitioning in a Delta Lake benchmark
Generated illustration
Liquid Clustering can lag ZOrder on stable filter columns Figures from the InfoQ author's Delta Lake benchmark of partitioned, ZOrdered and Liquid Clustered layouts, using real Databricks query profiles.

Three figures from the author's Delta Lake benchmark: on stable filter columns, Liquid Clustering nearly five times slower than ZOrder while scanning ten times more data; a fifty-million-record dataset; four workload types benchmarked.

Liquid Clustering can lag ZOrder on stable filter columns
FigureValueNoteClaim
Liquid Clustering, stable filters5 x slower, nearlywhile scanning ten times more data4
Records in benchmark dataset50,000,000 records6
Workload types benchmarked4 types1

What happened

  • Across the four workload types, Liquid Clustering posted the lowest latency on point lookups, time-range aggregations and large aggregations.
  • Where a query predicate matches a stable set of filter columns, ZOrder pruned close to optimally and Liquid Clustering ran nearly five times slower while scanning ten times more data.
  • On point lookups Liquid Clustering had the lowest latency even though it scanned more raw data than ZOrder, and the author calls bytes scanned a misleading proxy.
  • The test compared partitioned, ZOrdered and Liquid Clustered layouts using real Databricks query profiles.

Why it matters

  • decision Teams choosing a layout are told to run their top three query patterns against partitioned, ZOrdered and Liquid Clustered copies of a representative sample, since one author's dataset cannot settle it.
  • cost The author counts the elimination of manual OPTIMIZE jobs and periodic full table rewrites as an operating saving that comes with Liquid Clustering.
  • constraint The author says most published comparisons come from Databricks itself or reason from first principles, so this run has few independent measurements to be checked against.

The author's explanation for the date penalty is that ZOrder disperses sequential date values across files [3]. Date partitioning gets range-scan efficiency for free, and the dispersal destroys it [3]. For any team that ZOrdered on several columns with date somewhere after the first key, the author wrote, time-range queries are almost certainly taking the hit [14].

The 78% transfers only to tables that resemble the test. Date has to sit in the second or third slot of the ZOrder expression [2]. Date partitioning has to be a live alternative, since that is the baseline the figure is measured against [2]. And the data has to behave like the test dataset [6].

The evidence is one author's benchmark. The author says the questions came from production Delta Lake work at TCS UK (civil aerospace) and IBM (Shell Maritime) [11]. The available text ends mid-sentence, before any results table, and does not report absolute latencies, cluster size or Delta version.

The author's account of the multicolumn loss is that Liquid Clustering's broader locality optimization trades deterministic pruning for workload flexibility, and that the trade becomes a liability when queries are narrow and predictable [10]. ZOrder won only on stable, highly selective multicolumn predicates where the filter columns match the clustering key [5].

The author sorts teams with one question: do the top queries consistently filter on the same two or three columns? If yes, ZOrder those columns. If not, choose Liquid Clustering [8]. Everything outside that case falls to the default the author sets, Liquid Clustering for diverse or evolving query patterns [15].

We think the test is sound. "Stable" is the hard word in it, because it is a forecast about queries nobody has written yet.

What to watch

  • Whether anyone reproduces the 78% penalty with date in the second or third ZOrder slot on a different dataset.
  • Whether a run on a stable multicolumn filter workload matches the nearly fivefold gap the author reports for Liquid Clustering.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence40
Adoption
Insufficient
Hype gap+30
Incentives
Insufficient
Confidence45
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    Across four workload types benchmarked on Delta Lake, Liquid Clustering delivered the lowest latency for point lookups, time-range aggregations and large aggregations.

    ReportedSupportedSource: Author of the InfoQ articleView cited source
  2. [2]

    When a date column sits as a secondary or tertiary key in a ZOrder clustering expression, time-range queries perform significantly worse than on a simple date-partitioned table, seventy-eight percent slower in this benchmark.

    ReportedSupportedSource: Author of the InfoQ articleView cited source
  3. [3]

    Sequential date values are dispersed across files, destroying the range-scan efficiency that partitioning provides for free.

    ReportedSupportedSource: Author of the InfoQ articleView cited source

Sources

1 independent publisher whose own reporting we read for this story.

  1. infoq.com

    1 article · October 12, 2026

    Article: When Should You Use Liquid Clustering? Benchmarking Lakehouse Layout Strategies

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

  • Query performance benchmarkingFollow
  • Lakehouse data layoutFollow

Entities

Loading related stories