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
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.
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.
| Rows | Shards | Rows / shard | MDT | ADT | AST | CART |
|---|---|---|---|---|---|---|
| 50M | 26 | 2M | 9.2fastest | 12.2×1.33 | 21.5×2.34 | 31.5×3.43 |
| 50M | 12 | 4M | 10.7fastest | 10.8×1.02 | 10.7×1.01 | 30.8×2.88 |
| 100M | 52 | 2M | 17.7×1.59 | 11.2fastest | 21.3×1.91 | 43.3×3.87 |
| 100M | 26 | 4M | 12.8fastest | 13.8×1.08 | 21.3×1.66 | 44.6×3.48 |
| 200M | 103 | 2M | 18.9fastest | 21.2×1.12 | 20.6×1.09 | 75.3×3.99 |
| 200M | 52 | 4M | 14.8fastest | 18.9×1.28 | 18.9×1.28 | 70.8×4.79 |
| 200M | 35 | 6M | 17.2fastest | 22.4×1.31 | 18.1×1.06 | 87.0×5.07 |
| 300M | 154 | 2M | 20.2fastest | 25.2×1.25 | 21.8×1.08 | 98.7×4.89 |
| 300M | 77 | 4M | 35.0×1.46 | 30.1×1.26 | 23.9fastest | 116.0×4.85 |
Fastest full-table runs
Rows scanned per second of engine compute, every row in scope.
- 01MDT299,901,771 rows · 154 shards14.9M/s20.2 s
- 02AST299,901,771 rows · 154 shards13.8M/s21.8 s
- 03MDT199,934,514 rows · 52 shards13.5M/s14.8 s
- 04AST299,901,771 rows · 77 shards12.5M/s23.9 s
- 05ADT299,901,771 rows · 154 shards11.9M/s25.2 s
- 06MDT199,934,514 rows · 35 shards11.6M/s17.2 s
- 07AST199,934,514 rows · 35 shards11.0M/s18.1 s
- 08MDT199,934,514 rows · 103 shards10.6M/s18.9 s
- 09AST199,934,514 rows · 52 shards10.6M/s18.9 s
- 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
Load per worker
Bar: peak busy cores of 6. Line: peak memory.
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,076299,901,771class=1Σ exact518,076518,076v14=1Σ exact455,949455,949v10=1Σ exact424,359424,359v12=1Σ exact401,193401,193v11=24Σ exact378,027378,027v17=1Σ exact350,649350,649v16=1Σ exact334,854334,854v7=1Σ exact306,423306,423v3=1Σ exact277,992277,992v2=24243,243243,243not v2=2434,74934,749not v3=128,43128,431not v7=128,43128,431not v16=115,79515,795not v17=127,37827,378not v11=2423,16623,166not v12=123,16623,166not v10=131,59031,590not v14=1Σ exact62,12762,127v4=2420,00720,007not v4=2442,12042,120not class=10299,383,695Raw 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: 28431Frequent 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.
| Table | Runs | Depth 1 | Depth 2 | Depth 3 | Depth 4 | Depth 5 | Row-checks / s |
|---|---|---|---|---|---|---|---|
| 50M · 12 shards | 29 | 105.4713 itemsets | 89.1714 itemsets | 71.4714 itemsets | 77.9714 itemsets | 58.0714 itemsets | 0.69B |
| 50M · 26 shards | 30 | 117.4713 itemsets | 113.0713 itemsets | 102.0713 itemsets | 84.4714 itemsets | 82.6714 itemsets | 0.53B |
| 100M · 26 shards | 60 | 63.5714 itemsets | 136.8715 itemsets | 157.8774 itemsets | 153.6715 itemsets | 156.6783 itemsets | 1.15B |
| 200M · 52 shards | 30 | 138.0714 itemsets | 232.5737 itemsets | 248.9748 itemsets | 254.1715 itemsets | 259.2718 itemsets | 1.06B |
| 300M · 77 shards | 30 | 277.5714 itemsets | 460.6711 itemsets | 446.5748 itemsets | 498.5711 itemsets | 492.9718 itemsets | 0.79B |
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.
- depth 1 · 1.08% support195 s → 148 s25% faster
- depth 2 · 1.33% support320 s → 251 s22% faster
- depth 4 · 2.45% support323 s → 257 s20% faster
- depth 4 · 2.86% support358 s → 286 s20% faster
- depth 3 · 1.25% support297 s → 249 s16% faster
- depth 3 · 1.51% support281 s → 255 s9% faster
- depth 4 · 2.06% support276 s → 254 s8% faster
- depth 4 · 1.16% support292 s → 275 s6% faster
- depth 5 · 1.91% support271 s → 259 s4% faster
- depth 3 · 2.28% support282 s → 274 s3% faster
- depth 2 · 1.39% support238 s → 233 s2% faster
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
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
| Itemset | Rows | Support |
|---|---|---|
hour=21 | 6,213,753 | 6.22% |
hour=18 | 5,980,689 | 5.98% |
hour=11 | 5,916,456 | 5.92% |
hour=20 | 5,881,356 | 5.88% |
hour=10 | 5,825,898 | 5.83% |
hour=14 | 5,816,070 | 5.82% |
amount=2 | 5,797,116 | 5.80% |
hour=15 | 5,777,811 | 5.78% |
Strongest rules by lift
| Rule | Support | Lift |
|---|---|---|
v20=24v21=24v2=1 | 1.08% | 21.7× |
v20=24v2=1 | 2.09% | 12.0× |
v21=1v8=1 | 1.94% | 11.2× |
v24=24v6=24 | 1.87% | 10.8× |
v1=1v27=24 | 1.36% | 7.8× |
v1=1v20=24 | 1.35% | 7.8× |
v1=1v8=24 | 1.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.
| Itemset | Single machine | Cluster | Ratio |
|---|---|---|---|
hour=21 | 17,703 | 3,115,728 | ×176.0 |
hour=18 | 17,039 | 2,998,864 | ×176.0 |
hour=11 | 16,856 | 2,966,656 | ×176.0 |
hour=20 | 16,756 | 2,949,056 | ×176.0 |
hour=10 | 16,598 | 2,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.
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.
- Plan and config1.42 s median · best 0.54 sresolve the config and the period
- Shard load0.36 s median · best 0.06 sshards already resident on the workers
- Engine rounds20.2 s300M rows, full table: the number on every chart
- 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