300M rows to a ranked answer in 20 seconds.

Engine compute on a 36-vCPU cluster of commodity cloud VMs, warm cache, shard loading excluded. 719 recorded runs across four tree algorithms and exhaustive pattern mining, with the raw output of a real run below.

20.2 s
300M rows, full table, to a 10-level decomposition tree
MDT · full table · 154 shards
18.1M
rows per second, peak, on 36 vCPU
MDT · 287M rows · 15.9 s
1.15B
row-checks per second, exhaustive pattern mining
FIS · 100M · 26 shards
1,481/1,481
itemset counts identical at 176× scale
single machine vs cluster
whyse driver — MDT — 300M rows · 154 shards
rounds 0/180.00 s in rounds
01

Decomposition trees

MDT, ADT and AST split a metric into ranked, non-overlapping segments. CART runs on the same engine as a reference.

6× the rows. 2.2× the time.

A full-table MDT run takes 18 rounds at 50M rows and 18 at 300M. Each round is one cluster-wide histogram pass over bitmap-encoded shards, so more rows means more parallel work inside a round, not more rounds. Throughput climbs as the table grows.

0s15s30s45s60s50M100M200M300Mif time grew with rowsMDT · 50M rows · 9.2 s · 5.5M rows/sMDT · 100M rows · 12.8 s · 7.8M rows/sMDT · 200M rows · 14.8 s · 13.5M rows/sMDT · 300M rows · 20.2 s · 14.9M rows/sADT · 50M rows · 10.8 s · 4.6M rows/sADT · 100M rows · 11.2 s · 8.9M rows/sADT · 200M rows · 18.9 s · 10.6M rows/sADT · 300M rows · 25.2 s · 11.9M rows/s
Best warm run per algorithm over the whole table (no pre-filter), fastest shard layout at each size. Shaded: time saved against linear scaling.
MDTMetric Decomposition TreeWhere is most of the metric?
ADTAdditive Deficit TreeWhich segments fall short of the baseline rate?
ASTAdditive Surplus TreeWhich segments beat the baseline rate?
CARTCART, on the same engineClassic entropy classifier, for reference

Every size, every layout, every algorithm.

Nine table layouts from 50M to 300M rows and 12 to 154 shards, 15 warm configs per algorithm on each. The same configs run in the same order on every table, so rows compare like for like.

Fastest config with no pre-filter: every row scanned. Engine compute, seconds.

RowsShardsRows / shardMDTADTASTCART
50M262M9.2fastest12.2×1.3321.5×2.3431.5×3.43
50M124M10.7fastest10.8×1.0210.7×1.0130.8×2.88
100M522M17.7×1.5911.2fastest21.3×1.9143.3×3.87
100M264M12.8fastest13.8×1.0821.3×1.6644.6×3.48
200M1032M18.9fastest21.2×1.1220.6×1.0975.3×3.99
200M524M14.8fastest18.9×1.2818.9×1.2870.8×4.79
200M356M17.2fastest22.4×1.3118.1×1.0687.0×5.07
300M1542M20.2fastest25.2×1.2521.8×1.0898.7×4.89
300M774M35.0×1.4630.1×1.2623.9fastest116.0×4.85

Fastest full-table runs

Rows scanned per second of engine compute, every row in scope.

  1. 01MDT299,901,771 rows · 154 shards14.9M/s20.2 s
  2. 02AST299,901,771 rows · 154 shards13.8M/s21.8 s
  3. 03MDT199,934,514 rows · 52 shards13.5M/s14.8 s
  4. 04AST299,901,771 rows · 77 shards12.5M/s23.9 s
  5. 05ADT299,901,771 rows · 154 shards11.9M/s25.2 s
  6. 06MDT199,934,514 rows · 35 shards11.6M/s17.2 s
  7. 07AST199,934,514 rows · 35 shards11.0M/s18.1 s
  8. 08MDT199,934,514 rows · 103 shards10.6M/s18.9 s
  9. 09AST199,934,514 rows · 52 shards10.6M/s18.9 s
  10. 10ADT199,934,514 rows · 52 shards10.6M/s18.9 s

Inside one run: 300M rows, 18 rounds.

The full-table MDT run from the hero, replayed above. 299,901,771 rows in 154 shards on six workers. The driver opens the shards once, then every round is a single cluster-wide histogram pass merged on node relays.

Rounds, to scale

Setup rounds: open, register, profile Histogram scans: every feature at every frontier nodeHeaviest round: r8, 8.08 s. 15 of 18 rounds merged on node relays.

Load per worker

Bar: peak busy cores of 6. Line: peak memory.

node431 cpu·s · 8.3 GB
node534 cpu·s · 8.4 GB
node641 cpu·s · 8.8 GB
node737 cpu·s · 8.5 GB
node841 cpu·s · 8.6 GB
node925 cpu·s · 8.4 GB

What it returned

The decomposition of Class (fraud count) across all 299,901,771 rows. Every split is mutually exclusive and collectively exhaustive: children add up to the parent, to the row.

All rowsΣ exact518,076100.0%299,901,771
class=1Σ exact518,076100.0%518,076
v14=1Σ exact455,94988.0%455,949
v10=1Σ exact424,35981.9%424,359
v12=1Σ exact401,19377.4%401,193
v11=24Σ exact378,02773.0%378,027
v17=1Σ exact350,64967.7%350,649
v16=1Σ exact334,85464.6%334,854
v7=1Σ exact306,42359.1%306,423
v3=1Σ exact277,99253.7%277,992
v2=24243,24347.0%243,243
not v2=2434,7496.7%34,749
not v3=128,4315.5%28,431
not v7=128,4315.5%28,431
not v16=115,7953.0%15,795
not v17=127,3785.3%27,378
not v11=2423,1664.5%23,166
not v12=123,1664.5%23,166
not v10=131,5906.1%31,590
not v14=1Σ exact62,12712.0%62,127
v4=2420,0073.9%20,007
not v4=2442,1208.1%42,120
not class=100.0%299,383,695

Raw output

IF class=1 AND v14_binned=1.0 AND v10_binned=1.0 AND v12_binned=1.0 AND v11_binned=24.0 AND v17_binned=1.0 AND v16_binned=1.0 AND v7_binned=1.0 AND v3_binned=1.0 AND v2_binned=24.0 THEN
  Class: 243,243  (47.0% of root, 87.5% of parent)
  row_count: 243,243  (0.1% of root)
  count: 243243

IF class=1 AND v14_binned=1.0 AND v10_binned=1.0 AND v12_binned=1.0 AND v11_binned=24.0 AND v17_binned=1.0 AND v16_binned=1.0 AND v7_binned=1.0 AND v3_binned=1.0 AND NOT v2_binned=24.0 THEN
  Class: 34,749  (6.7% of root, 12.5% of parent)
  row_count: 34,749  (0.0% of root)
  count: 34749

IF class=1 AND v14_binned=1.0 AND v10_binned=1.0 AND v12_binned=1.0 AND v11_binned=24.0 AND v17_binned=1.0 AND v16_binned=1.0 AND v7_binned=1.0 AND NOT v3_binned=1.0 THEN
  Class: 28,431  (5.5% of root, 9.3% of parent)
  row_count: 28,431  (0.0% of root)
  count: 28431
02

Frequent itemset search

Every combination of feature values above a support threshold, counted exactly across the cluster, then mined for rules.

1.15 billion row-checks a second. No sampling.

179 of 179 configs succeeded, from 50M to 300M rows and up to ten levels deep. Single-feature counts over 100M rows finish in 64 seconds; every one of the 714 feature values is counted on every row.

Counting time in seconds, by maximum search depth. Row-checks: rows × counting rounds per second of the fastest run.

TableRunsDepth 1Depth 2Depth 3Depth 4Depth 5Row-checks / s
50M · 12 shards29105.4713 itemsets89.1714 itemsets71.4714 itemsets77.9714 itemsets58.0714 itemsets0.69B
50M · 26 shards30117.4713 itemsets113.0713 itemsets102.0713 itemsets84.4714 itemsets82.6714 itemsets0.53B
100M · 26 shards6063.5714 itemsets136.8715 itemsets157.8774 itemsets153.6715 itemsets156.6783 itemsets1.15B
200M · 52 shards30138.0714 itemsets232.5737 itemsets248.9748 itemsets254.1715 itemsets259.2718 itemsets1.06B
300M · 77 shards30277.5714 itemsets460.6711 itemsets446.5748 itemsets498.5711 itemsets492.9718 itemsets0.79B
100M rows · 26 shards200M rows · 52 shards300M rows · 77 shards
0s125s250s375s500s100M rows · up to level 1 · 63.5 s · 714 itemsets200M rows · up to level 1 · 138.0 s · 714 itemsets300M rows · up to level 1 · 277.5 s · 714 itemsetsup to level 1100M rows · up to level 2 · 136.8 s · 715 itemsets200M rows · up to level 2 · 232.5 s · 737 itemsets300M rows · up to level 2 · 460.6 s · 711 itemsetsup to level 2100M rows · up to level 3 · 157.8 s · 774 itemsets200M rows · up to level 3 · 248.9 s · 748 itemsets300M rows · up to level 3 · 446.5 s · 748 itemsetsup to level 3100M rows · up to level 4 · 153.6 s · 715 itemsets200M rows · up to level 4 · 254.1 s · 715 itemsets300M rows · up to level 4 · 498.5 s · 711 itemsetsup to level 4100M rows · up to level 5 · 156.6 s · 783 itemsets200M rows · up to level 5 · 259.2 s · 718 itemsets300M rows · up to level 5 · 492.9 s · 718 itemsetsup to level 5
Best counting time per maximum search depth. Every run returns every itemset above its support, across all 714 single features and their combinations.
1.15Brow-checks per second on 100M · 26 shards
52.6 sbest count on 50M rows with 12 larger shards, against 68.5 s on 26
837itemsets and 56 rules from one run over 300M rows

Twice the rows. Often the same time.

The first 30 configs ran unchanged on 100M and 200M rows. On 11 of them the doubled table finished as fast or faster.

100M rows · 26 shards200M rows · 52 shards
0s100s200s300s400sdepth 1 · 1.08% support · 100M 195.4 s · 200M 147.5 sdepth 1 · 1.08% support25% fasterdepth 2 · 1.33% support · 100M 320.0 s · 200M 250.8 sdepth 2 · 1.33% support22% fasterdepth 4 · 2.45% support · 100M 322.9 s · 200M 257.2 sdepth 4 · 2.45% support20% fasterdepth 4 · 2.86% support · 100M 358.4 s · 200M 286.1 sdepth 4 · 2.86% support20% fasterdepth 3 · 1.25% support · 100M 296.9 s · 200M 248.9 sdepth 3 · 1.25% support16% fasterdepth 3 · 1.51% support · 100M 280.6 s · 200M 255.1 sdepth 3 · 1.51% support9% fasterdepth 4 · 2.06% support · 100M 275.9 s · 200M 254.1 sdepth 4 · 2.06% support8% fasterdepth 4 · 1.16% support · 100M 291.9 s · 200M 275.3 sdepth 4 · 1.16% support6% fasterdepth 5 · 1.91% support · 100M 271.1 s · 200M 259.2 sdepth 5 · 1.91% support4% fasterdepth 3 · 2.28% support · 100M 281.7 s · 200M 274.3 sdepth 3 · 2.28% support3% fasterdepth 2 · 1.39% support · 100M 238.0 s · 200M 232.5 sdepth 2 · 1.39% support2% faster
  1. depth 1 · 1.08% support195 s → 148 s25% faster
  2. depth 2 · 1.33% support320 s → 251 s22% faster
  3. depth 4 · 2.45% support323 s → 257 s20% faster
  4. depth 4 · 2.86% support358 s → 286 s20% faster
  5. depth 3 · 1.25% support297 s → 249 s16% faster
  6. depth 3 · 1.51% support281 s → 255 s9% faster
  7. depth 4 · 2.06% support276 s → 254 s8% faster
  8. depth 4 · 1.16% support292 s → 275 s6% faster
  9. depth 5 · 1.91% support271 s → 259 s4% faster
  10. depth 3 · 2.28% support282 s → 274 s3% faster
  11. depth 2 · 1.39% support238 s → 233 s2% faster
Each line is one config, run unchanged on both tables: the 11 configs where twice the rows took the same time or less.

Inside one mining run: 729 rounds.

A search over 99,967,257 rows in 26 shards, up to 5 levels deep at 1.07% support. The driver issues one count per round; every shard answers, and node relays merge the answers before they reach the driver.

156.6 s
counting time, shard load excluded
729
cluster-wide counting rounds
17 ms
median relay merge per round
783 / 51
itemsets found / rules mined

Round times

< 10 ms0
10–50 ms129
50–100 ms386
0.1–0.25 s173
0.25–1 s38
> 1 s3

729 rounds, median 72 ms. Every round is one count across all shards, merged on node relays.

What it returned

718 itemsets at level 1 · 64 itemsets at level 2 · 1 itemsets at level 3. Counts are exact row counts, not estimates.

Most frequent itemsets

ItemsetRowsSupport
hour=216,213,7536.22%
hour=185,980,6895.98%
hour=115,916,4565.92%
hour=205,881,3565.88%
hour=105,825,8985.83%
hour=145,816,0705.82%
amount=25,797,1165.80%
hour=155,777,8115.78%

Strongest rules by lift

RuleSupportLift
v20=24v21=24v2=11.08%21.7×
v20=24v2=12.09%12.0×
v21=1v8=11.94%11.2×
v24=24v6=241.87%10.8×
v1=1v27=241.36%7.8×
v1=1v20=241.35%7.8×
v1=1v8=241.34%7.7×

Raw output

=== Support (desc) ===
-- Level 1 --
 1. {v20_binned=24.0 && v2_binned=1.0}  supp: 0.0209  lift: 12.033  antecedent_len: 1
 2. {v20_binned=24.0 && v2_binned=1.0}  supp: 0.0209  lift: 12.033  antecedent_len: 1
 3. {v21_binned=1.0 && v8_binned=1.0}  supp: 0.0194  lift: 11.192  antecedent_len: 1
 4. {v21_binned=1.0 && v8_binned=1.0}  supp: 0.0194  lift: 11.192  antecedent_len: 1
 5. {v24_binned=24.0 && v6_binned=24.0}  supp: 0.0187  lift: 10.775  antecedent_len: 1
-- Level 2 --
 1. {v20_binned=24.0 && v21_binned=24.0 && v2_binned=1.0}  supp: 0.0108  lift: 21.702  antecedent_len: 2
 2. {v20_binned=24.0 && v21_binned=24.0 && v2_binned=1.0}  supp: 0.0108  lift: 12.459  antecedent_len: 2
 3. {v20_binned=24.0 && v21_binned=24.0 && v2_binned=1.0}  supp: 0.0108  lift: 20.818  antecedent_len: 2

=== Lift (desc) ===
-- Level 1 --

Distributed, and still exact.

The same search on one machine and on the cluster, over a table copied 176 times. If the engine approximated, sampled or double-counted anywhere, a ratio would drift. None did.

Single machine284,807rows · 1 file
Cluster50,126,032rows · 12 shards
ItemsetSingle machineClusterRatio
hour=2117,7033,115,728×176.0
hour=1817,0392,998,864×176.0
hour=1116,8562,966,656×176.0
hour=2016,7562,949,056×176.0
hour=1016,5982,921,248×176.0
  • 717 of 717 itemset counts match at exactly ×176 · 1.2% · 3 levels · max_cardinality 20 (default) · largest support difference 0
  • 764 of 764 itemset counts match at exactly ×176 · 1.2% · 3 levels · max_cardinality 30 · largest support difference 0

Graded by an oracle neither side controls.

The same question to an LLM analyst and to the engine, both scored against an independent brute-force enumeration of every segment. The LLM can find a good answer. Only the engine can show you it checked everything.

WHYSE FISLooked at 15,509 mined · returned 4,814 segments
100%of the search space
LLM analyst with tools (claude-sonnet-5)Looked at 141 candidates · returned 1 segment
0.02%of the search space
LLM given pasted rowsLooked at 400 rows · returned nothing
0%of the search space

du_augmented: 20,343 trips, 9 dimensions, 12.82% bad-trip baseline. The oracle enumerates all 770,439 observed segments to depth 5; 4,814 clear the 1% floor. FIS returned every one of them, with identical row and bad-trip counts, and the top ten in the same order.

Every phase of a run, measured.

We follow the conventions of public database benchmarks: say exactly what the clock covers, publish the hardware and the build, repeat every config, and keep the warm-up out of the numbers.

  1. Plan and config1.42 s median · best 0.54 sresolve the config and the period
  2. Shard load0.36 s median · best 0.06 sshards already resident on the workers
  3. Engine rounds20.2 s300M rows, full table: the number on every chart
  4. Artifacts and upload0.57 s median · best 0.17 stree, rules and narrative written out
Cluster
9-node k3s on commodity cloud VMs
Workers
6 Ray worker nodes × 6 vCPU = 36 vCPU
Memory
≈10 GB pod limit per worker, peak 9 GB
Storage
Roaring bitmaps per feature value (roaring_bitmaps_vv)
Data
Public credit-card transactions table, 284,807 rows × 31 columns, replicated 176× to 1,053×
Features
723 binned feature values across 31 dimensions
Configs
15 configs per algorithm per table, same order every table; random FIS configs, seed 1126
Builds
Commit e2f515a0 (trees), image 90c88bcd (FIS)

Rules for every number on this page

  • Engine compute only: the driver's run phase minus its shard load. Submission, queueing and artifact upload are excluded.
  • Warm runs only. The first run on each table loads the shards onto the workers and is left out.
  • Best cases are the fastest of 15 warm configs per algorithm; medians are shown wherever a best case is.
  • “Full table” means no pre-filter: every row is in scope. Throughput always divides by the rows actually in scope.
  • Every run, including the ones not shown, is kept in the source reports.
# in the MDT repo, on the cluster's Ray driver
./benchmark/llm_vs_mdt_search_coverage/run.sh --provider anthropic --model claude-sonnet-5

# rebuild this page's data from the reports
python3 scripts/benchmarks/extract.py ../MDT

Stop guessing.
Let the data talk.

Connect a source, ask one question, and see the answer for yourself.