Polaris is the distributed SQL engine behind Fabric Data Warehouse, bringing SQL Server query processing to distributed compute over shared OneLake storage.
Based on the Polaris papers, this session explains how T-SQL in SQL Pools is compiled by the Front End nodes, optimized into distributed physical plans, orchestrated by the Distributed Computing Platform as workflow DAGs, and executed by Back End compute nodes over data cells. We connect that engine design to Parquet storage, Delta Lake log publishing, query decorrelation, and snapshot isolation, and show what it means for data movement, concurrency, plan quality, and performance at scale.
Microsoft Research and engineering teams continue to develop Polaris. Synapse Serverless SQL pool was its initial read-only implementation for querying external data. Fabric Warehouse is its first full read/write implementation, with support for transactions across statements and tables.
The scheduled session is 2x90 minutes (level 500). The deck includes worked examples, diagram walkthroughs and discussion.
Slides
The slides are available through the Download slides button.
Benchmarks and query plans
Explore the recorded TPC-H, TPC-DS and DSB timings from the SF100 Fabric Warehouses on F64. All 177 query plans include the SQL, operator details and source XML. The six presentation examples are marked Demo.
The reference numbers and IEEE citation style
match the slides. Each title links to the paper, with a DOI where available. Expand Full author list to see all authors in their published order.
Josep Aguilar-Saborit, Raghu Ramakrishnan, Krish Srinivasan, Kevin Bocksrocker, Ioannis Alagiannis, Mahadevan Sankara, Moe Shafiei, Jose Blakeley, Girish Dasarathy, Sumeet Dash, Lazar Davidovic, Maja Damjanic, Slobodan Djunic, Nemanja Djurkic, Charles Feddersen, Cesar Galindo-Legaria, Alan Halverson, Milana Kovacevic, Nikola Kicovic, Goran Lukic, Djordje Maksimovic, Ana Manic, Nikola Markovic, Bosko Mihic, Ugljesa Milic, Marko Milojevic, Tapas Nayak, Milan Potocnik, Milos Radic, Bozidar Radivojevic, Srikumar Rangarajan, Milan Ruzic, Milan Simic, Marko Sosic, Igor Stanko, Maja Stikic, Sasa Stanojkov, Vukasin Stefanovic, Milos Sukovic, Aleksandar Tomic, Dragan Tomic, Steve Toscano, Djordje Trifunovic, Veljko Vasic, Tomer Verona, Aleksandar Vujic, Nikola Vujic, Marko Vukovic, and Marko Zivanovic.
Josep Aguilar-Saborit, Raghu Ramakrishnan, Kevin Bocksrocker, Alan Halverson, Konstantin Kosinsky, Ryan O’Connor, Nadejda Poliakova, Moe Shafiei, Taewoo Kim, Phil Kon-Kim, Haris Mahmud-Ansari, Blazej Matuszyk, Matt Miles, Sumin Mohanan, Cristian Petculescu, Ishan Rahesh-Madan, Emma Rose-Wirshing, and Elias Yousefi.
Rana Alotaibi, Yuanyuan Tian, Stefan Grafberger, Jesús Camacho-Rodríguez, Nicolas Bruno, Brian Kroth, Sergiy Matusevych, Ashvin Agrawal, Mahesh Behera, Ashit Gosalia, Cesar Galindo-Legaria, Milind Joshi, Milan Potocnik, Beysim Sezgin, Xiaoyu Li, and Carlo Curino.
Kaushik Rajan, Sampath Rajendra, Momin Al-Ghosien, Nicolas Bruno, Carlo Curino, Matteo Interlandi, Yinan Li, Lukas M. Maas, Craig Peeper, Surajit Chaudhuri, and Johannes Gehrke.
Delta UniForm
: additional format metadata over shared Parquet data. Fabric exposes its Iceberg representation through OneLake metadata virtualization.
Substrait community governance
and Apache 2.0 license
. This independent open-source project has contributors affiliated with Google, IBM, NVIDIA, Intel, Voltron Data and Microsoft. Fabric adopts the community’s plan format.
The worked Substrait plan
contains the electricity usage example used in the slides. It describes SELECT account_id FROM EnergyUsage WHERE kwh > 100 with field references, function declarations and the final output mapping. This small example uses whole kWh in signed 64-bit integer fields and the Substrait v0.103.0 schema.
Fabric Data Warehouse behavior
These Microsoft Learn pages cover the product behavior used in the examples and connect it to the mechanisms in the papers.
Synapse SQL features
: the initial Serverless SQL implementation offers read-only table access and result export through CREATE EXTERNAL TABLE AS SELECT (CETAS); its transactions apply to metadata objects.
Actual execution plan XML: gated preview supplies observed rows and operator execution metrics. The original Microsoft FabCon monitoring demo captures the XML of an active query in Fabric and opens it in SSMS. The slides retain this animated demo. The benchmark plans captured for this Polaris presentation contain compilation estimates.
Query acceleration
and its FAQ
: eligible SQL work, preview scope, Power BI DirectQuery and billing.
The presentation also uses the supplied slides from W29, Data Warehousing for the AI Era: Deep Dive into High-Performance Analytics and GPU-acceleration, presented by Conor Cunningham, Maraki Ketema and Filip Popovic at FabCon Europe
on 30 September 2026. These provide the aggregate-pushdown CPU example, production scan telemetry, learned resource estimation and the updated DirectQuery comparisons. The CU-consumption examples on page 33 are illustrative estimates.
Supporting references
The documentation, announcements, session material and artwork below use the same reference numbers as the deck. The Microsoft Learn links describe the Fabric features used in the examples.
[71] Delta Lake contributors, “Universal Format (UniForm),” Delta Lake specification and documentation. [Online]. Available: https://docs.delta.io/delta-uniform/.
[86] C. Cunningham, M. Ketema, and F. Popovic, “Data Warehousing for the AI Era: Deep Dive into High-Performance Analytics and GPU-acceleration, W29,” FabCon Europe, Sept. 30, 2026; supplied slides. [Online]. Available: https://espc.tech/conference/fabcon-europe-2026/programme/.
dataMinds Connect 2026 Sam Debruyn · debruyn.dev The Polaris Papers: Inside the Fabric Data Warehouse dataMinds Connect Sam Debruyn
dataMinds Connect Sam Debruyn
Design brief · Speaker introduction 3 Sam Debruyn Freelance Data Platform Architect Microsoft Most Valuable Professional (MVP) Data architecture and open-source engineering Co-author of Microsoft’s dbt integrations debruyn.dev · sam@debruyn.dev Thanks to Filip Popovic for reviewing these slides. Principal Program Manager, Microsoft Fabric Data Warehouse dataMinds Connect Sam Debruyn
Background · The engine Fabric Data Warehouse 4 Polaris: the engine behind Fabric Warehouse Source [1], [2] Polaris 2020 / Transactions 2024 / Learn: architecture Polaris distributed SQL engine Applications T-SQL Compile SQL Choose a query plan Coordinate distributed execution Schedule work and handle failures Compute node 1 SQL Server Compute node 2 SQL Server Compute node 3 SQL Server OneLake: table files + metadata for committed versions Developed by Microsoft Research and engineering teams. Compute nodes can change while table data and durable transaction state remain in shared storage. dataMinds Connect Sam Debruyn
Background · Engine and research history Fabric Data Warehouse 5 The history of Polaris and Fabric Warehouse Source [1], [2], [3], [6], [7], [8], [9] Polaris papers · product announcements Product milestones Research papers Design questions 2010 Parallel Data Warehouse SQL Server across appliance nodes 2020 Synapse Serverless SQL First read-only Polaris implementation 2023 Fabric Warehouse First full read/write with transactions 2020 Polaris: The Distributed SQL Engine in Azure Synapse How do we scale and retry SQL work? 2024 Extending Polaris to Support Transactions How do concurrent writes commit? 2024 Unified Query Optimization in the Fabric Data Warehouse Unified Query Optimizer (UQO): Which plan should we execute? 2025 Query Decorrelation in the Fabric Data Warehouse Which SQL work can be shared? 2025 Towards Query Optimizer as a Service (QOaaS) Can engines share optimizer knowledge? 2026 Bitmap Filtering in the Fabric Data Warehouse Which rows can we reject early? 2026 CoddSpeed: Hardware Accelerated Query Processing in Microsoft Fabric Which work suits a GPU? Papers + current product behavior: debruyn.dev/dmc26 dataMinds Connect Sam Debruyn
Background · Engine and implementations Fabric Data Warehouse 6 Polaris and its product implementations Source [2], [6] Query optimization / Transactions / Learn: Serverless SQL and Delta publication Synapse Serverless SQL pool Fabric Warehouse Polaris distributed SQL engine Initial read-only implementation SELECT over external lake files First full read/write implementation INSERT / UPDATE / DELETE Transactional table writes External lake files OneLake files + published Delta logs Polaris is the engine. Serverless SQL and Fabric Warehouse implement different capabilities. Fabric Warehouse supports transactions across statements and tables, with snapshot isolation. dataMinds Connect Sam Debruyn
Design brief · The city mission 7 The warehouse engine for the City of the Future Every city department needs its own data warehouses One shared engine runs their queries and transactions Our task today: design that engine dataMinds Connect Sam Debruyn
Design brief · Workloads and requirements 8 The city’s workloads Departments share the engine. Reports must stay correct while ingestion changes their data. Workload Design requirement City dashboards Fast reads during demand bursts Service ingestion Consistent changes while reports run Energy reporting Joins across large and selective inputs Investigation Flexible SQL across shared data dataMinds Connect Sam Debruyn
Design brief · The design questions 9 Our engine design questions 1 2 3 4 5 6 Design area Question 1. Storage How do queries read and share table versions? 2. Execution How do we scale, schedule and recover work? 3. Planning How do we choose a globally efficient plan? 4. Reduction How do we remove unnecessary work? 5. Transactions How do we commit changes consistently? 6. Acceleration When does specialized hardware pay off? We will return to these questions in the design review dataMinds Connect Sam Debruyn
Design brief · The city workload 10 Electricity use by district EnergyUsage records daily electricity use in kWh. Account stores account_type and district. T-SQL 1 SELECT a.district, SUM(u.kwh) AS total_kwh 2 FROM dbo.EnergyUsage AS u 3 JOIN dbo.Account AS a 4 ON u.account_id = a.account_id 5 WHERE u.usage_date >= '2026-01-01' 6 AND a.account_type = 'Industrial' 7 GROUP BY a.district; Scan + filter EnergyUsage Join Industrial accounts SUM by district Sum electricity use for Industrial accounts from 2026 onward, grouped by district. Illustrative join inputs: EnergyUsage 2 GB, filtered Account 28 MB, eight compute nodes. dataMinds Connect Sam Debruyn
Design brief · Architecture map 11 The engine blueprint Planning Reduction Acceleration Execution Tasks · scheduling · shuffle · caches Storage Transactions Filters Offload Plan Buffers Read requests Version lookup The arrows show interfaces between six engine responsibilities. Execution handles tasks, shuffle and caches. Acceleration adds devices and their input paths. dataMinds Connect Sam Debruyn
Storage · Design questions 12 Question 1 of 6 Storage How do queries read and share table versions? 1 2 3 4 5 6 dataMinds Connect Sam Debruyn
Storage · The city requirement 13 A year of meter data, one reporting window The usage query needs three EnergyUsage columns and selected dates. Design question: which bytes and which committed files should we read? dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding 14 Row and column layouts How does columnar storage reduce the bytes we read? Source Apache Parquet · column layout, dictionary encoding and compression Row layout id district kwh 101 West 10 102 East 20 103 West 30 104 North 40 105 East 50 106 North 60 Each row mixes IDs, text and numbers. Column layout id 101 102 103 104 105 106 district West East West North East North kwh 10 20 30 40 50 60 kwh 10 20 30 40 50 60 SUM(kwh) reads the blue strip. A dictionary encodes repeated names as short codes. Dictionary 00 01 10 West East North Store each name once One code per row 101 102 103 104 105 106 00 01 00 10 01 10 3 values; 2 bits per code Page bytes Snappy / Zstd Fewer bytes Values in a column share a type and often repeat, which helps compression. Column layout selects fields. Encoding and compression reduce the stored bytes. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding 15 The Parquet footer Source Apache Parquet · file format and pages Column chunks · row groups 1…N Physical byte order PAR1 4 bytes usage_date account_id kwh … others File metadata Schema + chunk offsets Length · 4 bytes PAR1 · 4 bytes Length · 4 bytes PAR1 · 4 bytes 1 · Read the tail Last 8 bytes File metadata Schema + chunk offsets 2 · Read metadata Use the stored length 3 · Read usage_date, account_id and kwh Use the chunk offsets from step 2 usage_date account_id kwh Range reads request a byte interval. Standard unencrypted Parquet; schematic widths. Read the tail, use the metadata, then fetch the selected column chunks. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding 16 Parquet’s physical layout Source Apache Parquet · file format and metadata File Magic number (4 bytes): "PAR1" Row group 0 Column a chunk Page 0 Page header · compact Thrift metadata Repetition levels: repeated values Definition levels: optional values Encoded values Page 1 Column b chunk Row group 1 More column chunks Footer File metadata · compact Thrift encoding Version · schema · key/value pairs Row group 0 metadata Column a metadata Type / path / encodings / codec Number of values / data-page offset Index-page offset / compressed size Uncompressed size / key/value pairs Column b metadata Row group 1 metadata File metadata length (4 bytes) Magic number (4 bytes): "PAR1" Offsets point to the data Pages left Footer right dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding 17 Skipping row groups with statistics Pruning uses statistics to exclude row groups whose values cannot satisfy the predicate. Source Apache Parquet / Parquet pages Row group usage_date range Read for 2026? A 2024-01-01 … 2024-12-31 Skip B 2025-01-01 … 2025-12-31 Skip C 2026-01-01 … 2026-09-30 Candidate Check the predicate on rows from the remaining groups dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 18 Data clustering narrows the file ranges Source [6] Learn: data clustering / UQO 2024 §4 Monthly report: usage_date >= '2026-07-01' AND usage_date < '2026-08-01' Mixed date ranges Date locality after clustering Jan–Dec Read candidate Jan–Dec Read candidate Jan–Dec Read candidate Jan–Apr Skip May–Aug Read candidate Sep–Dec Skip At table creation: WITH (CLUSTER BY (usage_date, account_id)) Preview · 1–4 columns · extra ingestion work · one date dimension illustrated Clustering stores similar values near each other. File and row-group ranges can then exclude more data. Clustering reduces scan input. Query optimization still decides how surviving rows move between nodes. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 19 Rewriting a Warehouse table with CTAS Source Learn: clustered CTAS / manifest metadata / sp_rename CREATE TABLE dbo.EnergyUsage_next WITH (CLUSTER BY (usage_date)) AS SELECT account_id, usage_date, kwh FROM dbo.EnergyUsage; Original EnergyUsage Existing table files Warehouse write Cluster by usage_date Clustered Parquet files Manifest min/max metadata usage_date matches the report’s date filter. Manifest min/max enables file pruning. DROP TABLE dbo.EnergyUsage; EXEC sys.sp_rename N'dbo.EnergyUsage_next', N'EnergyUsage', N'OBJECT'; New object: reapply table-level permissions and security policies. CTAS = CREATE TABLE AS SELECT. Create a clustered replacement; CLUSTER BY is in preview. Warehouse automatically reorganizes data when its internal clustering-quality threshold is reached. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 20 Partitioning groups Parquet files by value Source [1] Polaris §3 / Learn: SQL endpoint and Warehouse tables / Delta: partitioning Lakehouse table EnergyUsage/ usage_year=2025/ usage_year=2026/ part-01.parquet part-02.parquet part-03.parquet part-04.parquet SQL analytics endpoint WHERE usage_year = 2026 Skip all 2025 files Read candidates from 2026 Lakehouse: writer defines partitions. Warehouse: CLUSTER BY + automatic layout management. Partitioning is a table-level directory layout. Each leaf contains Parquet files. A predicate on the partition column can exclude whole file groups before column and row-group pruning. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 21 V-Order organizes Parquet for repeated reads Source Learn: V-Order / Learn: SQL endpoint performance Incoming rows Sort + row groups Dictionary encoding Compression Parquet files Open format Repeated analytics SQL + Power BI Direct Lake Write-heavy staging Compare ingestion cost with later read savings Warehouse default: enabled. Disabling is warehouse-wide and permanent. Warehouse applies V-Order sorting, encoding and compression while writing standard Parquet files. V-Order optimizes the Parquet layout during writes to make later reads more efficient. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 22 File layout determines scan parallelism Source [1] Learn: SQL endpoint / caching / Spark Many small files Balanced files Few large files Inside one backend node 12,000 × 1 MB File + metadata overhead 24 × 500 MB Independent scan inputs 2 × 6 GB Two file-level inputs Illustrative 12 GB in every layout. df.repartition(24).write.parquet(path) Shuffle before writing df.coalesce(8).write.parquet(path) Combine partitions One Parquet file RG 0 RG 1 RG 2 Parallel reader threads RG = row group. Groups can be read concurrently. Async transcoding Parquet → columnar memory Uses all available backend node cores File count distributes scan work across nodes; row groups and transcoding also use parallelism inside a node. File overhead, distributed scan inputs and backend node threads all affect read performance. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 23 Cold scans: production evidence for file handling Source FabCon W29 p14 · session: 30 September 2026 · telemetry: August 2026 One customer: slowest queries Fleet: P99 scan overhead 25 min 30 s Reported customer example Whole-query duration ~33% faster 99th-percentile scan overhead Across the production fleet Shipped by default. These are two different measurements. Fabric Warehouse file handling · reported at FabCon Europe, 30 September 2026 File handling adds scan overhead before SQL operators can process the data. dataMinds Connect Sam Debruyn
Storage · Selective reads and encoding Fabric Data Warehouse 24 Recap: selective columnar reads Source Apache Parquet / Learn: data clustering / Learn: V-Order Illustrative EnergyUsage layout · usage_date >= '2026-01-01' F = file; RG = row group. Tiles are column chunks. Blue: usage_date, account_id, kwh. F1 2024 RG 1 · 2024 RG 2 · 2024 RG 3 · 2024 F2 2024 RG 1 · 2024 RG 2 · 2024 RG 3 · 2024 F3 2025 RG 1 · 2025 RG 2 · 2025 RG 3 · 2025 F4 2025 RG 1 · 2025 RG 2 · 2025 RG 3 · 2025 F5 2025–26 RG 1 · 2025 RG 2 · 2025 RG 3 · 2026 F6 2025–26 RG 1 · 2025 RG 2 · 2025 RG 3 · 2026 Metadata selects the ranges. The reader fetches the needed, already encoded column chunks. Candidate data 108 chunks File pruning 36 chunks Row-group pruning 12 chunks Column projection 6 chunks V-Order on write Fewer stored bytes dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots 25 Delta Lake’s transaction log Source Delta protocol · add/remove actions and snapshots / [2] Transactions 2024 Parquet stores rows in files. Delta’s log defines the committed table’s file set. Parquet files in storage A.parquet Active A.parquet Retained B.parquet Prepared append B.parquet Active B.parquet Retained D.parquet Prepared overwrite D.parquet Active _delta_log/ · JSON actions Illustrative actions, abbreviated Transaction 0 · initial data {"add": {"path": "A.parquet", "size": 4096, "dataChange": true}} Transaction 1 · append B {"add": {"path": "B.parquet", "size": 4096, "dataChange": true}} Transaction 2 · full overwrite {"remove": {"path": "A.parquet"}} {"remove": {"path": "B.parquet"}} {"add": {"path": "D.parquet", "size": 8192, "dataChange": true}} New reader’s snapshot After transaction 0 A.parquet After transaction 1 A.parquet B.parquet After transaction 2 D.parquet Snapshot after t0: A Prepare B · snapshot still A Publish t1 · snapshot A + B Prepare D · snapshot still A + B Publish t2 · snapshot D Earlier reader · after t1 Still reads A + B A and B remain until retention permits cleanup. Delta Lake dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots 26 Delta transaction validation Source Delta protocol Writer A snapshot after tN Prepare immutable files propose transaction N+1 Writer B snapshot after tN Prepare immutable files propose transaction N+1 A claims N+1 atomic log publication B checks A’s transaction against its read/write assumptions Compatible append can retry; a conflicting overwrite must abort or recompute. Both writers start from the snapshot after transaction N and compete to publish transaction N+1. Delta Lake dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots 27 Updates with deletion vectors Source [2] Delta protocol / Transactions 2024 §2.1–2.3 Immutable original file F1 Deletion vector for F1 After transaction 2 Position Account kWh 0 101 10 1 102 20 2 103 30 Position Deleted? 0 0 1 1 2 0 F2 account kWh 102 25 Visible usage values 10, 25, 30 Deletion marks refer to positions in F1; the new row lives in F2. A deletion vector marks physical row positions that a selected snapshot excludes. Publish the deletion mark and replacement file as one logical update. Delta Lake dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots 28 ACID transactions over data files Source [2] Delta protocol / Transactions 2024 §1, §4 / Learn: table constraints Property Required contract Atomicity Publish a complete change set Consistency Preserve schema and application-maintained invariants Isolation Select and validate a snapshot Durability Preserve committed files and metadata Delta Lake dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots Fabric Lakehouse 29 Lakehouse table health metrics Source Learn: table health metrics / Delta maintenance / Warehouse performance Many small files Soft-deleted rows Retained old files EXEC sys.sp_get_table_health_metrics @table_name = N'dbo.EnergyUsage'; One result row: file and row totals, histograms and the highest-priority anomaly. File-size histogram + file count OPTIMIZE EnergyUsage; Combine small files PhysicalRowCount DeletedRowCount REORG TABLE EnergyUsage APPLY (PURGE); Rewrite affected files Reader + time-travel retention needs VACUUM EnergyUsage; Default retention: 7 days Inspect on the Lakehouse SQL analytics endpoint. Maintain the Delta table with Spark SQL. Rewrites commit new active files. VACUUM removes old files after the required retention period. Warehouse: automatic compaction and cleanup dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots Fabric Data Warehouse 30 Shared SQL reads, separate table writes Source [2] Learn: Warehouse / cross-database SQL / architecture · Transactions 2024 §3–5 Warehouse T-SQL table writes Multi-table transactions Warehouse-managed tables Parquet + snapshots Automatic maintenance Lakehouse Spark table writes Lakehouse tables Writer-managed file layout SQL metadata discovery Warehouse or Lakehouse SQL analytics endpoint Polaris T-SQL reads Both table sets Writes Reads Writes Reads Cross-database SELECT: both items in the same workspace, with permission to read the source tables. Warehouse and the Lakehouse SQL analytics endpoint use Polaris for T-SQL queries. Lakehouse SQL endpoints give read-only access to table data. Warehouse T-SQL writes target Warehouse tables. dataMinds Connect Sam Debruyn
Storage · Delta transactions and snapshots Fabric Data Warehouse 31 A Delta table directory evolves Source [2] Delta protocol / Transactions §5.4 / Fabric: automatic log checkpoints DV = deletion vector. id = account_id. pos = row position (from 0). File names shortened. Transactions update the table state. Fabric publishes Delta metadata over the same Parquet data. EnergyUsage/ Data files (.parquet) _delta_log/ part1.parquet pos id kWh 0 1 10 1 2 20 2 3 30 part2.parquet pos id kWh 0 4 40 part3.parquet pos id kWh 0 3 35 DV-A.bin t3: row mask {1} DV-B.bin t4: row mask {1, 2} t0.json Protocol + schema (empty table) t1.json add part1 t2.json add part2 t3.json replace part1 reference + DV-A t4.json replace DV-A with DV-B, add part3 t4.checkpoint.parquet Table state, including DV references _last_checkpoint Last transaction: 4 INSERT 3 rows Accounts 1, 2, 3 SUM = 60 kWh INSERT 1 row Account 4 SUM = 100 kWh DELETE account 2 Row position 1 SUM = 80 kWh UPDATE account 3 SET kwh = 35 SUM = 85 kWh CHECKPOINT at t4 Summarize table state SUM = 85 kWh Warehouse internal log checkpoints Every 10 transactions · asynchronous Delta Lake dataMinds Connect Sam Debruyn
Storage · Design recap 32 Storage recap Source [2] Apache Parquet / Delta protocol / +4 sources Planning Reduction Acceleration Execution Storage Columns + snapshots Transactions File layout and statistics decide which bytes the query needs. Committed metadata decides which files and rows it can see. Fabric Data Warehouse Warehouse uses Parquet-backed tables, internal SQL snapshots and Delta logs for external readers. Next: identify data independently of its compute node dataMinds Connect Sam Debruyn
Execution · Design questions 33 Question 2 of 6 Execution How do we scale work across nodes and recover when one fails? 1 2 3 4 5 6 dataMinds Connect Sam Debruyn
Execution · The city requirement 34 Meter data grows beyond one server Eight nodes must find the same account keys and recover from a lost node. Design question: where do rows meet, and what can we retry? dataMinds Connect Sam Debruyn
Execution · Data identity and placement 35 Separating durable state from compute How can data and compute nodes scale independently? Source [1], [2] Learn: PDW / Synapse SQL / Fabric architecture · Polaris §2 SQL Server Parallel Data Warehouse (PDW) Synapse dedicated SQL pool Fabric Data Warehouse One SQL instance + cache Local data + log On-premises Scale up one server Control node + SQL compute nodes Attached storage On-premises Scale out an appliance SQL nodes + local state Azure Storage 60 distributions Cloud storage Resize or pause compute SQL workers + rebuildable cache SQL Front End Commit metadata OneLake Data + file metadata SQL warehouses grew from one on-premises machine into distributed appliances and cloud services. Fabric stores data and committed state outside SQL workers. Each worker can rebuild its cache. dataMinds Connect Sam Debruyn
Execution · Data identity and placement 36 Cells combine partition and distribution functions Source [1] Polaris 2020 §3.1, Figure 2 Decoded rows · date / account / kWh p = 0 Jan 2026 Jan 15 3 13 Jan 20 6 16 C00 Jan 15 1 11 Jan 20 4 14 C01 Jan 15 2 12 Jan 20 5 15 C02 p = 1 Feb 2026 Feb 15 3 23 Feb 20 6 26 C10 Feb 15 1 21 Feb 20 4 24 C11 Feb 15 2 22 Feb 20 5 25 C12 p = 2 Mar 2026 Mar 15 3 33 Mar 20 6 36 C20 Mar 15 1 31 Mar 20 4 34 C21 Mar 15 2 32 Mar 20 5 35 C22 h = 0 h = 1 h = 2 Partition p(r) month(usage_date) Distribution h(r) account_id mod 3 Cell C(i,j) p(r) = i and h(r) = j h = 1: C01, C11, C21 February in h = 1: read C11 Polaris paper model: 18 decoded EnergyUsage rows, grouped by month and account hash. One hash grouping spans several partitions. A date predicate can prune within that grouping. dataMinds Connect Sam Debruyn
Execution · Data identity and placement Fabric Data Warehouse 37 Mapping cells to files and compute nodes Source [1], [2] Cells §3 / Transactions §2 Logical cells Fabric DW · OneLake Assigned task h(r): hash distribution 0 1 2 p = 0 C00 C01 C02 p = 1 C10 C11 C12 p = 2 C20 C21 C22 row r → cell (p(r), h(r)) Blue: one hash-cell grouping Store reader Cell ID → Parquet file F1.parquet · C01 F2.parquet · C11 F3.parquet · C21 Input cells C01, C11, C21 Node B · SQL Server Read selected cells Fabric Warehouse today: one Parquet file per cell. A task can read several cells. Polaris could expose smaller units, such as row groups, through another store reader. dataMinds Connect Sam Debruyn
Execution · Data identity and placement 38 Recap: stable data identity Source [1], [2] Polaris 2020 §2–3 / Transactions 2024 §2 / +3 sources How can data and compute nodes scale independently? Keep cell IDs stable when compute nodes change SQL backend node A SQL backend node B Local cache Node lost · cache lost Task T Cell 778 A.parquet Cell identity belongs to durable data. Compute failed; cell 778 still exists. The retry keeps input cell 778. New task output; the durable input stays the same. Fabric Data Warehouse Polaris addresses cells. Its Distributed Query Processor (DQP) can move a task while keeping its input cell IDs. Next: bring matching join keys to the same compute node dataMinds Connect Sam Debruyn
Execution · Join placement 39 Distributing rows by the join key Where must matching rows meet? Source [1], [6] Polaris 2020 §4 / UQO 2024 §4.2 Packets carry account_id values. Blue = EnergyUsage; coral = Account. Node A: EnergyUsage Node B: Account Hash Move account_id mod 2 Node 0 EnergyUsage Account Node 1 EnergyUsage Account Equal account keys meet at the same local join. 1 2 3 1 2 3 dataMinds Connect Sam Debruyn
Execution · Join placement 40 Redistribute and its six data moves Source [6] UQO 2024 §4.2.4, Table 3 Move Effect Single Node Move One node to another, including backend node to frontend Merge Move Many distributions to one node Broadcast Move Each source partition to every target node Hash Move Hash keys to their target distributions Trim Move Locally keep the relevant rows of a replicated input Any Move Hash for Any(C), round-robin for Any(*) Polaris Redistribute aligns distributed inputs. SQL Server Exchange connects local parallel streams. dataMinds Connect Sam Debruyn
Execution · Join placement 41 Single Node Move and Merge Move Source [6] UQO 2024 §4.2.4, Table 3 Single Node Move: one serial source. Merge Move: several sources. Both have one receiver. Serial backend node → Control node One source stream reaches one receiver. SQL backend node SQL frontend Distributed input → One node One receiver has every row from the three sources. Backend node 0 Backend node 1 Backend node 2 SQL frontend 1 2 2 5 0 4 1 3 dataMinds Connect Sam Debruyn
Execution · Join placement 42 Broadcast Move Source [1], [6] UQO 2024 §4.2.4, Table 3 / Polaris 2020 §4 / UQO 2024 §4.2 Packets show three sample account_id values from the filtered Account input. Broadcast Move: every receiver gets the complete filtered Account input. Filtered Account Backend node 1 28 MB Backend node 2 28 MB Backend node 3 28 MB Backend node 4 28 MB Backend node 5 28 MB Backend node 6 28 MB Backend node 7 28 MB Backend node 8 28 MB Each backend node has all three sample keys and can join its local EnergyUsage rows. 8 receivers × 28 MB = 224 MB received. EnergyUsage input: 2,000 MB. 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 dataMinds Connect Sam Debruyn
Execution · Join placement 43 Trim Move Source [6] UQO 2024 §4.2.4, Table 3 Packets represent rows. Labels show account_id values. Replicated input → Hash(account_id) Each backend node keeps its own hash bucket from its local copy. Backend node 0 Local replicated copy Keep mod 3 = 0 Backend node 1 Local replicated copy Keep mod 3 = 1 Backend node 2 Local replicated copy Keep mod 3 = 2 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 dataMinds Connect Sam Debruyn
Execution · Join placement 44 Any Move Source [6] UQO 2024 §4.2.4, Table 3 R1–R6 identify rows. All six rows have account_id = 7. Any(*): distribute rows round-robin Any(C) uses Hash Move. C is the allowed column set. Source backend node Any(*) allows any distributed layout. Take turns: 0, 1, 2. Backend node 0 Backend node 1 Backend node 2 R1 · 7 R2 · 7 R3 · 7 R4 · 7 R5 · 7 R6 · 7 dataMinds Connect Sam Debruyn
Execution · Join placement 45 Enforcing the join’s distribution Source [1], [6] Polaris 2020 §4.2, Figure 4 / UQO 2024 §4.2.4, Table 3 Optimizer decision: keep P as it is and insert Redistribute on Q. Before enforcement After enforcement Join on account_id Scan P: Account Hash(account_id) Scan Q: EnergyUsage Hash(usage_date) Both: Hash(account_id) Local join on account_id Scan P: Account Hash(account_id) Scan Q: EnergyUsage Hash(usage_date) Redistribute Q: Hash Move Output: Hash(account_id) Execution: Q rows move; P stays in its existing distribution. SQL backend node 0 P: 2 Q: SQL backend node 1 P: 5, 7 Q: Both inputs now supply Hash(account_id) to the local join. 2 5 2 7 dataMinds Connect Sam Debruyn
Execution · Join placement 46 Skew and the slowest task Skew means unequal work across partitions. A hot key sends many matching rows to the same hash destination. Source [1] Polaris 2020 §9.2 Node Rows Illustrative completion A 100 2 s B 100 2 s C 700 14 s D 100 2 s One compute node receives the hot account key and runs longer. The query waits for its slowest required task even if the other compute nodes are idle. Illustrative work distribution, assuming equal cost per row dataMinds Connect Sam Debruyn
Execution · Join placement 47 Recap: join data movement Source [1], [6] Polaris 2020 §4 / UQO 2024 §4.2 Where must matching rows meet? Move rows so that matching join keys meet Usage · node A Usage · node B Hash(account_id) Node 0 Node 1 1 2 2 3 Account: 2 Account: 1, 3 2 Usage rows → 2 matches Key 2 starts on two different nodes. Rows cross the exchange to their hash destination. Both key-2 rows can see Account key 2. Distribution makes the complete local join possible. Fabric Data Warehouse Polaris uses Hash Move, Broadcast Move or Merge Move to satisfy the next operator’s required distribution. Next: recover when a compute node or data move fails dataMinds Connect Sam Debruyn
Execution · Tasks and recovery 48 Tasks and their dependencies What is the smallest unit we can retry? Source [1], [6] Polaris 2020 §5.2, Figure 6 / UQO 2024 §4.2.5 Physical operator tree Task dependency graph Local join Hash Move P Hash Move Q Scan P Scan Q Producer P scan + data move Producer Q scan + data move Consumer J local join Blocking data moves cut a physical operator tree into recoverable tasks. Coral line: task boundary at data move output. Consumer J waits for both producer outputs. dataMinds Connect Sam Debruyn
Execution · Tasks and recovery 49 A task’s inputs, plan and outputs Source [1], [6] Polaris 2020 §5.1 / UQO 2024 §4.2.5 / Polaris 2020 §5, Figure 5 Local join template Task 0 Task 1 Task 2 Scan P cells Scan Q cells Hash join on account_id Inputs: P0, Q0 Backend node Outputs: R0, … Inputs: P1, Q1 Backend node Outputs: R1, … Inputs: P2, Q2 Backend node Outputs: R2, … Local SQL Server: threads, memory, batch operators Each instance binds the same local plan to input cell sets for one hash distribution. Different cell bindings run the same local plan in parallel. A retry reopens the task’s inputs. Producer P scan + move Producer Q scan + move Consumer J local join dataMinds Connect Sam Debruyn
Execution · Tasks and recovery 50 Retrying tasks after a failure Source [1], [6] Polaris 2020 §5–7, §9 / UQO 2024 §4.2.5 / FabCon TH13 p34 / Learn: workload management / Polaris 2020 §6, §9 What is the smallest unit we can retry? Track input dependencies when choosing a recovery scope Illustrative recovery Producer attempt Reuse completed Q output Durable cells P · Run P · Failure P ′ · Run P ′ · Success Q · Success Consumer J template Blocked Ready Run Success Waiting for P Queued for scheduling Instantiate J’s task Required task completed J attempt · Run J attempt · Success J needs both producer outputs before its task can start. P fails while Q’s completed output survives. Repeat P’s work from its durable input cells. Both inputs are available: J’s template is Ready. Run creates the consumer’s task attempt. One J instance is shown; templates wait for every required instance. Fabric Data Warehouse Polaris retries transient task failures and restarts tasks from failed nodes on healthy nodes. Other failures trigger a coarser parent retry. Next: place and scale the ready tasks Producer P scan + move Producer Q scan + move Consumer J local join dataMinds Connect Sam Debruyn
Execution · Placement and scaling 51 Polaris combines scale-out with scale-up How does the engine place and scale its work? Source [1], [6] Polaris 2020 §1, §5.3, §8 / UQO 2024 §4.2.5 / Learn: architecture Scale-out: tasks across nodes Node 0 Node 1 Node 2 Scale-up: use each node’s resources SQL Server: one task, two joins SQL Server Task 0 P0 · Q0 · R0 SQL Server Task 1 P1 · Q1 · R1 SQL Server Task 2 P2 · Q2 · R2 Add nodes and assign tasks using stable input cells. Join P1 + Q1 Join result + R1 Local execution uses: CPU threads Working memory Column batches P, Q and R are inputs hashed on the same join key. Keep compatible operators in one task so SQL Server can exploit local parallelism. dataMinds Connect Sam Debruyn
Execution · Placement and scaling Fabric Data Warehouse 52 Global operations can limit parallel scaling Source [6] Learn: performance guidance / UQO 2024 §3–4 Scan + filter Compute node 1 Scan + filter Compute node 2 Scan + filter Compute node 3 Global ORDER BY Merge Move + final order One completion node Ordered result Distributed scans can still feed a global operation with a single-node completion step. The physical properties in UQO explain this merge point. Reduce its input when it dominates elapsed time. dataMinds Connect Sam Debruyn
Execution · Placement and scaling 53 Hot spots, autoscale and cache affinity Source [1] Polaris 2020 §9.1–9.3 / Learn: caching Measure Reassign Autoscale Node A: 40 s Node B: 5 s Move some tasks to less loaded nodes Add a container if spare capacity is needed Query 1 reads cells Fills the data cache Warm Backend node A Memory + SSD data cache Query 2 reads same cells Reuses cached input data Runtime task durations reveal hot spots. Placement and topology respond to that evidence. Cache affinity helps later queries reuse data on warm backend nodes and preserves existing caches during scale-out. dataMinds Connect Sam Debruyn
Execution · Placement and scaling 54 Placing and scaling ready tasks Source [1] Polaris 2020 §5.3, §6 / Learn: architecture / Learn: data caches How does the engine place and scale its work? Scale across nodes and use each node’s SQL execution resources DQP · ready tasks Scale up: local SQL resources. Scale out: additional backend nodes. SQL backend node A SQL Server Threads · memory · batches SQL backend node B SQL Server Threads · memory · batches SQL backend node C SQL Server Threads · memory · batches T1 T2 T3 Inputs: cell 778, cell 1027; cell IDs stay stable. Ready tasks have independent cell inputs. Placement also considers cache affinity. Local SQL execution uses the node’s resources. Another backend node adds a place to execute ready tasks. Fabric Data Warehouse DQP places ready tasks across compute nodes. SQL backend nodes use local threads, memory and batch execution; caches influence placement. Next: when can a ready task start? dataMinds Connect Sam Debruyn
Execution · Task admission 55 Recap: task admission Source [1] Polaris 2020 · §7, Figure 8 How do mixed workloads share resources? Start ready tasks when their requests fit the target node Workload graph · dependencies and resource requests Usage join J1 6 GB · Ready Usage aggregate 6 GB · Blocked: needs J1 output Dashboard scan S 1 GB · Ready Another join J2 6 GB · Ready Ready for this node One backend node · worked 8 GB budget J1 · 6 GB S · 1 GB J2 · 6 GB 1 GB 1 GB 1 GB 1 GB 1 GB 1 GB 1 GB 1 GB 7 + 6 > 8 7 / 8 GB in use 1 / 8 GB · six GB released 7 / 8 GB · J2 and S Ready describes inputs; admission also checks node resources. Data affinity fixes this node as the target of J1, S and J2. J1 + S occupy seven of this node’s eight GB. J2 waits for resources on the same node. J1 finishes. S keeps its one GB. J2 can now use the six freed GB. Fabric Data Warehouse DQP schedules ready tasks against the resources available on their target SQL backend node. Next: configure backend allocation for the city’s workloads dataMinds Connect Sam Debruyn
Execution · Fabric workload controls Fabric Data Warehouse 56 SQL pools in Fabric Warehouse Source Learn: SQL pools and workload management / FabCon TH13 p35–43 / September 2026 SQL pool: ETL SQL pool: Reports SQL pool: Ad hoc Applications SQL requests DQP Classify + schedule SQL backend nodes + caches Maximum 50% SQL backend nodes + caches Maximum 40% SQL backend nodes + caches Maximum 10% Shared Fabric capacity · Warehouse and SQL analytics endpoints in the workspace Route by application name, application-name regex or statement type (SELECT / non-SELECT). Percentages cap backend allocation. Actual use follows demand within the shared Fabric capacity. dataMinds Connect Sam Debruyn
Execution · Scribe Fabric Data Warehouse 57 Scribe shuffle and scheduling Source [1], [9] Polaris §7 / CoddSpeed §3.6 / FabCon T16 p9 Scheduling · control path High-throughput shuffle · data path Ready task queue Resource budgets choose compatible tasks Admit + place tasks Producer tasks output buffers Data move buffers shared transport Consumer tasks join / aggregate FabCon: high-throughput shuffle and smart workload scheduling, identified by Tino Tereshko as Scribe. Placement decides which ready tasks run; transport carries their intermediate buffers. dataMinds Connect Sam Debruyn
Execution · Cache reuse Fabric Data Warehouse 58 Fabric data caches in memory and SSD Source [1] Learn: data caches / Polaris §8–9 / FabCon T16 p12 OneLake Parquet + metadata Durable storage Memory cache Compressed columns Query operators read here SQL execution Filter + join + aggregate Read + transcode Local SSD Serialized cached data Can survive memory eviction Serialize Warm read Fabric caches accessed data and metadata. Memory stores a compressed columnar representation; SSD retains serialized copies. Durable state supports recovery. Local cache state changes the cost of reading the same committed data. dataMinds Connect Sam Debruyn
Execution · Cache reuse Fabric Data Warehouse 59 Result set caching reuses the completed answer Source Learn: result set caching First SELECT Compile + execute Scans, moves, joins, SUM Final answer Stored result set Repeated SELECT Cache hit Return the stored answer Deterministic SELECT · Input: ≥ 1 table with ≥ 100,000 rows · Estimated output: ≤ 10,000 rows Query Insights result_cache_hit: 0 = ineligible · 1 = created · 2 = hit Warehouse and SQL endpoints enable result set caching by default for eligible SELECT queries. Stored answers reuse completed work. Table changes invalidate earlier answers to preserve result consistency. dataMinds Connect Sam Debruyn
Execution · Cache reuse 60 Recap: cache and result reuse Source Learn: data caches / Learn: result set caching / FabCon T16 p12 Which work can the engine reuse? Keep useful data warm and reuse valid results Query Valid result? Eligibility + version Answer SQL operators Data cache OneLake Hit Miss Warm data Cached result · v1 Result miss Table v2 · fresh result Result reuse and data reuse save different work. A first execution reads data, then runs SQL. The result-cache shortcut skips SQL execution. Warm data saves storage reads; SQL still runs. Recompute for the new state; unchanged data can stay cached. Fabric Data Warehouse Data caches save storage rereads. Result set caching returns eligible answers until changes invalidate them. Next: combine cells, scheduling and caches in the Fabric architecture dataMinds Connect Sam Debruyn
Execution · Fabric architecture Fabric Data Warehouse 61 The overall Fabric Warehouse architecture Source [2], [6] UQO 2024 §4, Figure 4 / Learn: architecture / +3 sources SQL FE: Front End DCP: Distributed Compute Platform SELECT pool NONSELECT pool Client T-SQL Results Parser + security UQO Unified Query Optimizer Physical-plan search Transactions + catalog Manifests + WriteSets Schema + statistics DQP Distributed Query Processor Task scheduling Global resource governor SQL BE Node 1 SQL BE Node 2 Memory + SSD cache SQL BE Node 3 SQL BE Node 4 Memory + SSD cache OneLake: Parquet files + manifests + deletion vectors + published Delta logs SQL FE = Front End; DQP = Distributed Query Processor; SQL BE = SQL backend node. Dashed blue: plans and task control. Solid: rows, results and storage access. dataMinds Connect Sam Debruyn
Execution · Design recap 62 Execution recap Source [1], [6], [9] Polaris / Learn: architecture, pools and caches / FabCon T16 p9 Planning Reduction Acceleration Execution Tasks + resources + caches Storage Columns + snapshots Transactions Stable cells let tasks move and retry from surviving inputs. Scheduling fits ready tasks to resources. Caches reuse data or completed results. Fabric Data Warehouse DQP schedules SQL backend nodes. Scribe improves shuffle and scheduling; caches reuse prior work. Next: choose the complete distributed plan dataMinds Connect Sam Debruyn
Planning · Design questions 63 Question 3 of 6 Planning How do we choose a globally efficient plan? 1 2 3 4 5 6 dataMinds Connect Sam Debruyn
Planning · The city requirement 64 Two plans for the same consumption report Broadcast Move: 28 MB of accounts. Hash Move: 2 GB of usage rows. Design question: how does one search compare the complete alternatives? dataMinds Connect Sam Debruyn
Planning · Whole-plan search 65 The optimizer’s job Source [6] UQO 2024 §2, §4 SQL query Electricity by district Logical plan Join, filter, group Physical plan Algorithms + data moves Execution Tasks on nodes Which rows and totals? Which algorithm? Where do rows meet? The optimizer chooses how to execute the query, including the join algorithms and data moves. Before a local join can run, matching usage rows and accounts must reach the same backend node. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 66 The usage query as a logical plan Source [6] UQO 2024 §4 SELECT a.district, SUM(u.kwh) AS kwh FROM dbo.EnergyUsage AS u JOIN dbo.Account AS a ON u.account_id = a.account_id WHERE a.account_type = 'Industrial' GROUP BY a.district; EnergyUsage Account Inner join on account_id Filter: Industrial Group by district SUM(kwh) Read upward from the two tables: join on account_id, keep Industrial accounts, then sum kwh by district. The Account predicate uses only Account columns, so the optimizer can apply it before the inner join. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 67 Physical join algorithms Source [6] UQO 2024 §4 Hash join Merge join Logical operation: EnergyUsage inner join Account on account_id Build a key lookup on filtered Account Probe that lookup with usage keys Preparation: bring matching keys to the same node. Inputs ordered by account_id Walk both inputs and match equal keys Bring matching keys together. Sort inputs if needed. Hash join builds a lookup. Merge join walks two inputs ordered by the join key. The optimizer adds the cost of any required sorts and data moves to the cost of the join itself. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 68 The older PDW optimization pipeline How do we optimize the whole distributed query? Source [6] UQO 2024 §2, Figure 1 PDW distributed engine 1. Frontend optimizer 2. Distributed optimizer 3. Node optimizer Logical alternatives serialized search space Choose data moves and distributed steps Parse SQL again optimize a local plan execute it SQL From step trees The distributed optimizer costed only data movement. Backend compilation chose the local physical operators. PDW used three optimizer stages: logical alternatives, data moves, then local physical plans. PDW converted each distributed step’s operator tree back into SQL. Each backend node then chose its local physical plan. dataMinds Connect Sam Debruyn
Planning · Whole-plan search Fabric Data Warehouse 69 Three optimizer stages become one Source [6] UQO 2024 §2, §4, Figure 4 SQL FE · one UQO optimization call PDW / Synapse Dedicated SQL Frontend search Logical alternatives Distributed optimizer Cost: data movement Data moves are already fixed Node optimizer calls Local algorithms Per fragment and node Fabric Data Warehouse Global statistics + table distributions Local algorithms Join, sort, scan Distribution choices Shuffle, broadcast Cost each candidate: local execution + data movement Distributed physical plan Local operators + data moves DCP Task execution UQO = Unified Query Optimizer. One optimization call in the SQL Front End (SQL FE). Fabric costs the local execution and data movement together, then sends the selected physical operators to its backend nodes. dataMinds Connect Sam Debruyn
Planning · Whole-plan search Fabric Data Warehouse 70 The chosen plan reaches the SQL backend nodes Source [6] UQO 2024 §4.2.5 / FabCon T16 p9 Frontend: chosen plan DCP: execution fragments Scan + Account filter Broadcast Move Local hash join Split at the move Producer: scan + filter Publish moved rows Consumer: read moved rows Execute the chosen hash join Moved data DCP splits the plan at each data move and sends the resulting fragments to SQL backend nodes. The backend receives the chosen hash join as a physical operator, ready to execute. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 71 MEMO keeps alternative plans Source [6], [11] UQO 2024 §4.1.1 / Optimizer monograph 2024 §2 G3: the same inner-join result G1: EnergyUsage G2: Industrial accounts Shared input groups Usage joined to Industrial accounts, in either input order Hash join Build a key lookup Merge join Use ordered inputs MEMO is the optimizer’s compact record of alternative plans for the same result. Compare costs under the required order and distribution. Reuse input searches with matching requirements. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 72 Pushing the Account filter below the join Source [6] UQO §4.1 / [8] Bitmap filtering §3.5 / Databricks: dynamic file pruning Filter after the join EnergyUsage Account Inner join account_id Filter Account Industrial Filter before the join EnergyUsage Account Inner join account_id Filter Account Industrial Filter Account first; its join keys can drive distributed bitmap filters before EnergyUsage’s shuffle (later). Related Databricks technique: dynamic file pruning uses runtime join keys to skip whole files. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 73 Required and delivered physical properties Source [6], [11], [12] UQO 2024 §4.1–4.2 / Optimizer monograph §2 / System R 1979 Ordering Distribution Delivered: account_id order 1001, 1002, 1003 Implementation: Merge Join Requires ordered keys Enforcer: Sort if order is missing Delivered on Node 0 1001, 1003 Delivered on Node 1 1002, 1004 Implementation: local Hash Join Requires matching keys at the same node Enforcer: Redistribute if placement is missing Logical transformation: move Account’s Industrial filter below this inner join. Implementation selects an algorithm. An enforcer supplies a required property that the input lacks. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 74 System R and interesting orders Source [6], [11], [12] System R 1979 / Optimizer monograph 2024 §1.2 / UQO 2024 §4.2.1–4.2.3 Plan A · cheapest standalone input Plan B · interesting order on x Parent: merge join on x requires both inputs ordered by x. Subplan: 10 compute the input x: 3, 1, 2 unordered output Subplan: 14 compute the input x: 1, 2, 3 ordered output Sort on x: +8 Reuse the existing order: +0 10 + 8 = 18 14 + 0 = 14 Keep the cheapest input and the cheapest input for each useful order. Fictional units for one join input. Both plans return the same rows; other join work is identical. System R, IBM’s research database: an interesting order can reduce a later operator’s cost. Fabric UQO applies this idea to distributions: a useful layout can save a later Hash Move. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 75 Distribution properties and enforcers An enforcer supplies the missing distribution Source [6] UQO 2024 §4.2.1–4.2.4 Property Meaning Serial One SQL backend node Control SQL frontend Replicated A copy on every node Any(C) Equal C values share a partition; function unspecified Hash(C) Known hash function on C Wildcard Required only: any distribution except Replicated EnergyUsage child Delivered: Hash(usage_date) Hash Move(account_id) Delivered: Hash(account_id) Local hash join Required: Hash(account_id) Parent requirement Output now satisfies the join requirement. C denotes distribution columns. The join requires Hash(account_id) from its EnergyUsage input. The optimizer inserts a Hash Move on account_id and adds its cost to this candidate plan. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 76 Interesting distributions can make movement free Source [6] UQO 2024 §4.2.1–4.2.3 Delivered by the inputs GROUP BY district EnergyUsage Hash(account_id) Filtered Account Hash(account_id) Local join account_id Output: Hash(account_id) Join move saved Partial SUM(kwh) Per backend node Hash Move(district) Bring district partials together Final SUM(kwh) by district Illustrative inputs: compatible Hash(account_id). The district aggregate has a different requirement. Reuse the join layout, then move district partials so the final aggregate sees each complete group. dataMinds Connect Sam Debruyn
Planning · Whole-plan search 77 Recap: one distributed optimization call Source [6] UQO 2024 · §4.1–4.2.4, Figure 10 How do we optimize the whole distributed query? Search both candidates, then compare movement and local join costs Optimize G3: joined rows Required output: Wildcard A: local Hash Join Hash both inputs B: local Hash Join Broadcast filtered Account G1: EnergyUsage Hash(account_id) G2: Account Hash(account_id) G1: EnergyUsage Any(Usage) G2: Account Replicated One frontend call searches the join and its children. Candidate A requires matching account keys on the same backend node. Each child search includes its scan, filter and required movement. Candidate B copies filtered Account to the Usage backend nodes. Any(Usage) uses all G1 output columns; Account must be replicated. Usage: 2,000 MB. Account: 28 MB. Eight targets; effective transfer: 250 MB/s. Cost term A: Hash both inputs B: Broadcast Account Moved payload 2,000 + 28 = 2,028 MB 28 MB × 8 = 224 MB Transfer time 8.112 s 0.896 s Local join cost 0.700 s 0.900 s Illustrative total 8.812 s 1.796 s Selected: B (broadcast) Broadcast moves the small Account input to eight targets. Divide the moved payload by the effective transfer rate. Hash has the cheaper local join, but carries much more data. Broadcast has the lower combined join and movement cost. Fabric Data Warehouse UQO costs local operators and data moves in one search, then sends the selected physical fragments to SQL backend nodes. Next: account for errors in row-count estimates dataMinds Connect Sam Debruyn
Planning · Row estimates and costs 78 Row estimates and resource costs How do we plan with uncertain row counts? In query planning, cardinality is the number of rows an operator produces. Column cardinality counts distinct values. Selectivity is the fraction of rows that pass a filter. Source [6], [11] Optimizer monograph 2024 §5 / UQO 2024 §4.2 Estimated Account 10,000 rows Actual Account 1,000,000 rows More memory and network work The cost model chooses using estimates. Execution encounters the actual rows. Underestimating the Industrial input understates broadcast bytes and hash-table memory. With an added district filter, correlation with account type can distort independent selectivity estimates. Illustrative cardinality-estimate error dataMinds Connect Sam Debruyn
Planning · Row estimates and costs Fabric Data Warehouse 79 Fabric creates and refreshes column statistics Source [6] Learn: statistics / UQO 2024 §4 Data changes Proactive refresh Automatic histograms Enabled by default Query arrives Create / refresh needed statistics Query-time work Compile with current estimates SELECT name, STATS_DATE(object_id, stats_id) AS updated_at FROM sys.stats WHERE object_id = OBJECT_ID('dbo.EnergyUsage'); Column statistics estimate input rows and widths. Parquet file statistics describe ranges for scan pruning. UQO uses these estimates to cost plans. Creating or refreshing statistics during a query adds to its duration. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs Fabric Data Warehouse 80 Reading an Account histogram Source [6] Learn: statistics / histogram fields / UQO §4 a.account_type = 'Industrial' SELECT a.district, SUM(u.kwh) AS total_kwh FROM dbo.EnergyUsage AS u JOIN dbo.Account AS a ON u.account_id = a.account_id WHERE u.usage_date >= '2026-01-01' AND a.account_type = 'Industrial' GROUP BY a.district; RANGE_HI_KEY EQ_ROWS Commercial 1,000,000 Industrial 1,000,000 Residential 9,000,000 Industrial 1,000,000 RANGE_HI_KEY: value at a step boundary EQ_ROWS: estimated matches for that value Estimated Account input 1,000,000 rows account_id: 8 B · district: avg 20 B (example) Projected payload: 28 MB 1,000,000 × (8 + 20) bytes This example histogram estimates one million Industrial accounts for the report. The predicate histogram estimates rows; projected column widths estimate bytes to move. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs Fabric Data Warehouse 81 Inspecting and refreshing Warehouse statistics Source [6] Learn: statistics / DBCC SHOW_STATISTICS / UQO §4 CREATE STATISTICS s_AccountType ON dbo.Account (account_type) WITH FULLSCAN; Single-column histogram Read all Account rows DBCC SHOW_STATISTICS ('dbo.Account', 's_AccountType') WITH HISTOGRAM; Read value frequencies Check Industrial estimate UPDATE STATISTICS dbo.Account (s_AccountType) WITH FULLSCAN; After a large load Refresh this statistic DBCC = Database Console Commands. SHOW_STATISTICS displays the histogram for the account_type column. FULLSCAN reads all rows. Compare estimates and the resulting plan before choosing a refresh policy. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs Fabric Data Warehouse 82 Inspecting the usage query with SHOWPLAN Source [6] Learn: SHOWPLAN XML / Query Insights / UQO 2024 §3–4 SET SHOWPLAN_XML ON; GO SELECT a.district, SUM(u.kwh) AS kwh FROM dbo.EnergyUsage AS u JOIN dbo.Account AS a ON u.account_id = a.account_id WHERE a.account_type = 'Industrial' GROUP BY a.district; GO SET SHOWPLAN_XML OFF; GO Selected physical plan Join algorithm + data moves Estimated rows at each operator Estimated plan: chosen operators + row estimates Query Insights: measured request duration UQO’s chosen backend operators SSMS returns estimated plan XML. SHOWPLAN reports operators and row-count estimates from compilation. SHOWPLAN contains compilation estimates. Query Insights supplies measurements from completed requests. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs Fabric Data Warehouse 83 Estimated and actual query plans Source Microsoft FabCon monitoring announcements and demos Estimated plan Public preview coming soon Chosen operators Row-count estimates + data moves Actual execution plan XML · Gated preview Actual XML in SSMS Observed rows + operator metrics Capture query XML. Inspect in SSMS. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs Fabric Data Warehouse 84 A recorded Fabric estimated plan Source Learn: SHOWPLAN XML / Actual plan XML: gated preview SELECT SUM(l_extendedprice * l_discount) AS revenue FROM lineitem WHERE l_shipdate >= CAST('1993-01-01' AS DATE) AND l_shipdate < DATEADD(YEAR, 1, CAST('1993-01-01' AS DATE)) AND l_discount BETWEEN 0.02 AND 0.04 AND l_quantity < 24; Estimated rows 605 M scanned; 39.48 M pass WHERE SUM returns one result row Compute Scalar: output Pass through the result as revenue Compute To Control Node (Return) Send the one result row to the control node Compute Scalar: SUM result NULL if count = 0; otherwise sum Hash Match (Aggregate) SUM(amount); COUNT_BIG(amount) Compute Scalar: amount l_extendedprice * l_discount Clustered Index Scan Read lineitem; apply WHERE TPC = Transaction Processing Performance Council. Q6 sums discounts on selected order lines; scale factor 100. Scan and filter, calculate each discount, sum the amounts, then return one row. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs 85 The UQO evaluation measures query latency Source [6] UQO 2024 §5, Figure 12 TPC = Transaction Processing Performance Council. 10 TB; DW-15000c; 30 nodes; new UQO vs previous. 10.7% TPC-DS: overall workload latency improvement 11.1% geometric-mean improvement 8.3% TPC-H: overall workload latency improvement 8.9% geometric-mean improvement TPC-DS Q64: 14 × faster compilation. About one third of queries improve 15–40%. dataMinds Connect Sam Debruyn
Planning · Row estimates and costs 86 Recap: estimates and data placement Source [6], [11] UQO / Learn: statistics / FabCon W29 p7 How do we plan with uncertain row counts? Use row estimates to choose data moves and memory budgets Account row estimate Industrial accounts 10,000 rows 1,000,000 rows 28 bytes / row Broadcast Node 0 Node 1 Node 2 Plan: 280 KB per node Plan: 28 MB per node Selected Account rows Initial estimate: 10,000 Observed: awaiting execution Observed: 1,000,000 (100 × ) Later run: feedback pending Later run: use saved row count Later estimate: 1,000,000 0 1,000,000 rows Illustrative estimates and payload sizes 10,000 rows × 28 bytes = 280 KB per copy. Three broadcast copies: 840 KB of estimated payload. Execution observes 28 MB per copy, 100 × the estimate. Save the actual row count for later resource estimation. The later plan estimates 84 MB of broadcast payload. Fabric Data Warehouse Learned cardinalities improve later resource estimates Next: pass the chosen plan to execution dataMinds Connect Sam Debruyn
Planning · Plan handoff Fabric Data Warehouse 87 Substrait: an open-source plan format How does a chosen plan reach the execution engine? Source [6], [9] Substrait: governance + specification / UQO §4.2.5 / FabCon T16 p9 / CoddSpeed §2.1, §3.2 Substrait plan Community contributors from: Fabric SQL frontend Selected physical plan Operator tree Typed input/output schemas Field + function bindings Protocol Buffers (binary) JSON view for inspection DCP + SQL backend nodes Execute selected fragments CAL: Coprocessor Abstraction Layer Eligible fragments Independent open-source project · Apache 2.0 · Community governance Fabric adopts the community’s format; each runtime implements the operators and functions it supports. dataMinds Connect Sam Debruyn
Planning · Plan handoff 88 A typed plan handoff Source [9] Substrait: overview / Substrait: relations / Substrait: extensions / FabCon T16 p9 / CoddSpeed 2026 How does a chosen plan reach the execution engine? Pass typed operators and bindings through one plan format Substrait plan Fields (i64) 0: account_id 1: kwh anchor 7: gt field 1 > 100 emit: [2] SQL backend / CAL Read Filter Project 1001: 80 1002: 150 1003: 220 1002: 150 1003: 220 1002, 1003 Project 0 → 2 emit [2] → 0 i64 is a signed 64-bit integer. Positions start at zero. Read: position 0 is account_id; position 1 is kwh. Filter: field 1; anchor 7 = gt. 80 fails; 150 and 220 pass. Project appends field 2. emit [2] returns it as output field 0. Fabric Data Warehouse Fabric uses Substrait physical plans for SQL backend execution and CAL fragments. Operator support still depends on the target engine. Next: use the same plan format across engines dataMinds Connect Sam Debruyn
Planning · Shared plan knowledge 89 Query Optimizer as a Service Source Alotaibi et al. · CIDR 2025 · Fig. 1 / §3–4 · CC BY 4.0 / FabCon T16 p9 / Substrait 1 · Substrait request Logical plan Operators, types, expressions + functions 2 · Returned plan Optimized logical plan + optional physical hints 3 · Engine adapter Runtime executes Fabric Warehouse Physical plan Substrait → DCP CIDR 2025 research proposal: engines retain their SQL frontends and execution runtimes. dataMinds Connect Sam Debruyn
Planning · Shared plan knowledge 90 The QOaaS Spark prototype Source [3] QOaaS 2025 §3.1–3.2, Figure 2 / FabCon T16 p9 / Substrait / QOaaS 2025 §3.3–3.4 Spark Spark runtime Initial unoptimized logical plan Logical plan encode as Substrait UQO* service subset of UQO rules OneLake metadata schema + statistics Spark logical optimization then physical planning Executors run the query Prototype v1: logical optimization Prototype v2: also returns physical hints Research prototype: UQO* is an adapted Unified Query Optimizer; Spark QO* is a modified Spark optimizer. v1 returns a logical plan. v2 also returns physical hints. Spark builds and executes the final physical plan. dataMinds Connect Sam Debruyn
Planning · Shared plan knowledge 91 QOaaS prototype results Source [3] Alotaibi et al. · CIDR 2025 · Figure 3 / §3.2–3.4 MSSales · 40 joins Nearly 2 × faster v1: better join ordering v2: physical hints improve most queries Separate test · TPC-H 1 TB Q5: 1.5 × slower with v2 UQO’s earlier choices hindered Spark’s join-key filtering. Evaluated on Spark: MSSales, 5 TB, 627 tables and eight representative queries. Lower bars mean less time. Shared optimization must preserve the target engine’s optimization opportunities. dataMinds Connect Sam Debruyn
Planning · Design recap 92 Planning recap Source [6] UQO §3–5 / Substrait / Learn: statistics and query plans Planning Plans + execution Reduction Acceleration Execution Tasks + resources + caches Storage Columns + snapshots Transactions UQO replaces PDW’s three optimizer stages with one search over local operators and data moves. Statistics inform costs. Substrait carries physical plans to the SQL backend nodes. Fabric Data Warehouse Fabric uses UQO and Substrait physical plans. SHOWPLAN exposes the selected operators. Next: reduce the data and repeated work in that plan dataMinds Connect Sam Debruyn
Reduction · Design questions 93 Question 4 of 6 Reduction How do we remove unnecessary work? 1 2 3 4 5 6 dataMinds Connect Sam Debruyn
Reduction · Filtering before moves 94 Filtering the probe input with build keys Can we reject rows before an expensive join? Source [8] Bitmap filtering §3.5.1 · exact local join bitmap Exact bitmap: one bit per ID Account · Industrial Selected keys: 2, 5 account_id 2 1 3 0 4 0 5 1 1 = key present 0 = key absent Observed range: 2–5 Usage ID Bitmap check Usage row 1 Outside range 2–5 Discard 2 Bit for 2 = 1 Keep for join 3 Bit for 3 = 0 Discard 5 Bit for 5 = 1 Keep for join Join with Account Add district to each row Select Industrial accounts, then use their IDs to filter EnergyUsage before the join. A bitmap rejects impossible matches; the join attaches the matching Account columns. dataMinds Connect Sam Debruyn
Reduction · Filtering before moves Fabric Data Warehouse 95 Bloom filters for join keys Source [8] Bitmap filtering 2026 §3.5.1–3.5.2 · runtime join filters Illustration: 8 bits, two hashes Selected Account keys 2 and 1,000,000,013 Exact bitmap: ~125 MB Hash to bit positions 2 → (2, 0) 1,000,000,013 → (5, 1) 0 1 1 1 2 1 3 0 4 0 5 1 6 0 7 0 account_id = 4 Positions 4 and 0 Bit 4 = 0 Definitely absent Discard this probe row account_id = 2 Positions 2 and 0 Both bits = 1 Possibly present Full join: key 2 matches account_id = 8 Positions 0 and 1 Both bits = 1 Possibly present Full join: key 8 absent False positive A wide key range makes an exact bitmap large. Hashes map keys into a compact bit array. An unset bit rejects the probe row. Set bits pass a candidate to the full join. dataMinds Connect Sam Debruyn
Reduction · Filtering before moves Fabric Data Warehouse 96 Q17: reject rows before the shuffle Source [8] Bitmap filtering 2026 · Figure 14, §3.4–3.5, §4.2 TPC-H Q17, 1 TB. Data flows from the scans on the right towards the result on the left. Hash Match Aggregate Hash Match Inner Join Broadcast Move Hash Match Inner Join Shuffle Move Columnstore scan part Columnstore scan lineitem Compute Scalar Hash Match Aggregate Shuffle Move Hash Match Aggregate Columnstore scan lineitem Local bitmap: after Shuffle Distributed bitmap: before Shuffle Probe waits until the build-side bitmaps have been merged. No bitmap 2.58 billion rows shuffled Latency 100% · work 100% Local bitmap 2.92 million remain after Shuffle Latency 60% · work 47% Local + distributed Filter at the scan, before Shuffle Latency 11% · work 10% dataMinds Connect Sam Debruyn
Reduction · Filtering before moves 97 Bitmap reduction limits the cost of a poor join order Source [4], [8] Yannakakis 2026 §2–3 / Bitmap filtering 2026 §1.2, §3 Input Rows Join keys A 1,000 1,000 keys B 1,000,000 1,000 keys, 1,000 rows each C 1 One matching key Poor order: join A and B first 1,000,000 intermediate rows C filters B, then B filters A 1,000 rows in A JOIN B One surviving key can stop a poor join order from materializing irrelevant matches. Here, filtering cuts intermediate rows from 1,000,000 to 1,000 while preserving the result. dataMinds Connect Sam Debruyn
Reduction · Filtering before moves Fabric Data Warehouse 98 Bitmap filters reduce latency and total work Source [8] Bitmap filtering 2026 · Figure 13, §4.2 TPC-H, 1 TB. Ratios to the configuration with bitmap filtering disabled; lower is better. Share of no-bitmap baseline (100%) 88% 91% 70% 61% 78% 61% 45% 24% 0% 20% 40% 60% 80% 100% Latency Total work Latency Best five Total work Best five Local bitmap Local + distributed Across the workload: 78% of baseline latency and 61% of baseline total work. Best five: queries with the largest total-work reduction. End-to-end time includes optimization. dataMinds Connect Sam Debruyn
Reduction · Filtering before moves 99 Recap: filtering before shuffle Source [8] Bitmap filtering 2026 §3 / Fabric, September 2026 / FabCon T16 p9 Can we reject rows before an expensive join? Send the bitmap first, then move only surviving probe rows Filtered Account: 2, 5 Key Bit 0 0 1 0 2 1 3 0 4 0 5 1 Probe producer A Bitmap filter Probe producer B Bitmap filter 1 2 3 5 Hash Move Full join: equality Probe input: 1, 2, 3, 5. Build keys: 2, 5. Publish only after the build side is complete. Reject 1 and 3 at their producing nodes. Two survivors cross the exchange; the join checks them. Fabric Data Warehouse Distributed bitmaps reject non- matching probe keys before Hash Move, reducing the bytes sent across compute nodes. Next: avoid repeating the same work for each outer row dataMinds Connect Sam Debruyn
Reduction · Aggregation Fabric Data Warehouse 100 Local and global aggregation Source FabCon W29 p9 SQL BE node SQL BE node 1 SQL BE node 2 Single backend node Distributed execution Scan 10, 20, 5, 25 kWh SUM 60 kWh 4 readings Scan 10, 20 kWh Local SUM 30 kWh Scan 5, 25 kWh Local SUM 30 kWh One SQL backend node Global SUM 30 + 30 = 60 kWh Example: SUM(kwh) over four meter readings. Both plans return 60 kWh. Pushdown combines each scan with its local aggregate. The global SUM combines the partial results. dataMinds Connect Sam Debruyn
Reduction · Aggregation Fabric Data Warehouse 101 Aggregate pushdown: fewer rows leave the scan Source [6] FabCon W29 p9 · reported qualifying query, CPU time Separate scan and aggregate Aggregate at the scan Scan Read 1.2B rows Aggregate 1.2B rows Result 2.4K rows 145 s CPU Scan + Aggregate Emit 2.4K rows 2.4K rows Result 0.71 s CPU Single SQL backend node · FabCon qualifying-query example · CPU time · same result size Fabric performs the aggregate at the scan. The improvement ships by default for qualifying queries. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work 102 A correlated aggregate How do we turn per-row SQL into shared work? A correlated inner query references the current outer row. Decorrelation rewrites it as equivalent operations over sets of rows. Source [7] Decorrelation 2025 §1–3 T-SQL 1 SELECT a.account_id 2 FROM dbo.Account AS a 3 WHERE 1000000 < ( 4 SELECT SUM(u.kwh) 5 FROM dbo.EnergyUsage AS u 6 WHERE u.account_id = a.account_id 7 ); Current account_id = 1 SUM(kwh) for account 1 Repeat for next account The inner predicate uses a.account_id from the outer Account row. Decorrelation can turn this dependency into an aggregate and a join. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work 103 APPLY carries the outer-row values Source [7] Decorrelation 2025 §2, §3.1 APPLY supplies the current outer row. This example steps through a dependent execution. Account a account_id 1 2 3 APPLY Bind outer row EnergyUsage u account_id kwh 1 600,000 1 500,000 2 200,000 u.account_id = a.account_id Current inner result SUM(u.kwh) Outer WHERE: total > 1000000 a.account_id = 1 u.account_id = 1 600,000 + 500,000 = 1,100,000 kWh Account 1: keep Current account: 1 a.account_id = 2 u.account_id = 2 200,000 = 200,000 kWh Account 2: exclude Current account: 2 a.account_id = 3 u.account_id = 3 0 matching rows Empty input SUM = NULL Account 3: exclude Current account: 3 NULL comparison is UNKNOWN Returned so far: account_id = 1 Blue: current account. Orange: matching usage. Illustrative full-scan plan: scan every usage row for each account account 1 account 2 … account 10,000 10,000 accounts Filter EnergyUsage SUM(kwh) 1,000,000 usage rows per scan Repeat for the next account 10 billion row tests Indexes and reuse can reduce this work. APPLY exposes the dependency. Decorrelation can use GROUP BY and a join instead. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work 104 The equivalent aggregate-and-join query SUM over an empty input returns NULL. The greater-than predicate excludes that account in both versions. Source [7] Decorrelation 2025 §3 T-SQL 1 SELECT a.account_id 2 FROM dbo.Account AS a 3 JOIN ( 4 SELECT account_id, SUM(kwh) AS total 5 FROM dbo.EnergyUsage 6 GROUP BY account_id 7 ) AS t ON t.account_id = a.account_id 8 WHERE t.total > 1000000; GROUP BY account_id Join totals to Account Filter total > 1,000,000 Compute one total per account_id in EnergyUsage. Join those totals to Account and keep accounts above 1,000,000 kWh. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work 105 SPOOL gives two readers one computed result Source Decorrelation 2025 §2, Fig. 1 / §3.1, §3.3–3.5 Pair accounts above and below 1,000,000 kWh in the same district. AccountTotals (Q) Account JOIN EnergyUsage GROUP BY account_id, district, then SUM(kwh) ID District total_kwh 1 North 1,100,000 2 North 200,000 4 South 1,500,000 High-use h: accounts 1 and 4 Low-use l: account 2 Pair high-use and low-use accounts SELECT h.account_id, l.account_id FROM AccountTotals AS h JOIN AccountTotals AS l ON h.district = l.district WHERE h.total_kwh > 1000000 AND l.total_kwh < 1000000; North: high account 1 joins low account 2 Result: (1, 2) Both references need the same AccountTotals. Without SPOOL With SPOOL + REMAP Q as h JOIN + GROUP BY Q as l JOIN + GROUP BY Compute the same totals twice High h: >1,000,000 kWh Accounts 1, 4 Low l: <1,000,000 kWh Account 2 JOIN h.district = l.district Compute the totals once Q JOIN + GROUP BY SPOOL: buffer of Q Shared district column #7 REMAP: h.district #41 High h: >1,000,000 kWh Accounts 1, 4 REMAP: l.district #52 Low l: <1,000,000 kWh Account 2 JOIN h.district = l.district Same pair (1, 2). SPOOL shares the computed rows. REMAP gives each reader its own columns. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work 106 Measured gains from decorrelation Source [7] Decorrelation 2025 §4.2–4.3, Table 2; §4.5, Story 2 Q7, single node Workload, single node Workload, distributed Reported customer case (§4.5) 367.26 × Largest query speedup 15.08 × All 13 queries combined 37.44 × Distributed plans available Multiple hours to 37 seconds after deployment 13 hardest ProcBench queries with user-defined functions. TPC-DS data, SF10, ten runs. Table 2 measures the same input size. The customer report describes one production query. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work Fabric Data Warehouse 107 Decorrelation handles larger inputs Source [7] Decorrelation 2025 · Figure 10, §4.3 Scale factor (SF) controls dataset size. Per query: New SF10 = 1; the latency axis is logarithmic. Relative latency (New SF10 = 1) · logarithmic scale 0,1 1 10 100 1000 Q1 Q5 Q6 Q7 Q12 Q13 Q15 Q17 Q18 Q20a1 Q20a2 Q20b1 Q20b2 Original SF10 New SF10 (baseline) New SF100 New SF1000 For most queries, New SF1000 is faster than Original SF10. Approximate bar readings; input size and allocated compute both change. Q15 and Q20a are exceptions. dataMinds Connect Sam Debruyn
Reduction · Shared SQL work 108 Recap: shared SQL work Source [7] Decorrelation 2025 §3.4.1, §3.5, Figures 4–7 How do we turn per-row SQL into shared work? Normalize APPLY, share reused inputs, then optimize the rewritten operators. One decorrelation rule 1. Correlated SQL SUM(kwh) for each outer account_id 2. Normalize to APPLY Outer columns bind the right input 3. Pull correlated expressions upward 4. Rewrite Duplicate-free first SPOOL-based if needed 5. Simplify SPOOL and REMAP In dependency order 6. Physical plan GROUP BY + join Choose data moves Keep APPLY for required conditional/opaque evaluation Our query sums usage for the current outer account. APPLY exposes that dependency in the logical tree. Lift correlated expressions before applying the rewrite. Prefer duplicate-free rules, then shared-input rules. Remove unnecessary buffering and simplify column mappings. UQO explores implementations of the rewritten operators. Fabric Data Warehouse One rule rewrites the correlated fragment. SPOOL shares inputs and REMAP gives each reader its own columns. UQO costs the resulting physical plans. Next: recap early filtering and shared SQL work dataMinds Connect Sam Debruyn
Reduction · Design recap 109 Reduction recap Source [7], [8] Bitmap filtering 2026 §3 / Decorrelation 2025 §3 / Fabric, September 2026 Planning Plans + execution Reduction Filter + shared SQL Acceleration Execution Tasks + resources + caches Storage Columns + snapshots Transactions Bitmap filters reject non- matching keys before their rows cross a data move. Decorrelation and shared producers reduce repeated work while keeping the SQL result. Fabric Data Warehouse Fabric costs distributed bitmap placement and uses decorrelation, SPOOL and REMAP to expose reusable work. Next: select the right row versions while writers run dataMinds Connect Sam Debruyn
Transactions · Design questions 110 Question 5 of 6 Transactions How do we commit changes consistently? 1 2 3 4 5 6 dataMinds Connect Sam Debruyn
Transactions · Running example Fabric Data Warehouse 111 Two readers, two writers, one table Source [2] Transactions 2024 §4.1–4.2, Figure 6 / Learn: transactions dbo.EnergyUsage Account kWh 1 10 2 20 Starting total: 30 kWh Reader R1 Read SUM(kwh) Reader R2 Read SUM(kwh) Writer W1 Account 2: add 5 kWh Writer W2 Account 2: add 5 kWh One day’s energy use. Each reader and writer runs its own SQL transaction. Two reports overlap with two corrections of +5 kWh to account 2. dataMinds Connect Sam Debruyn
Transactions · Snapshot reads Fabric Data Warehouse 112 A reader’s snapshot during a concurrent write Source [2] Transactions 2024 §4.1–4.2, Figure 6 / Learn: transactions Time → Initial values: 10, 20 W1 commits: values 10, 25 R1 Snapshot: 10 + 20 = 30 kWh W1 Prepare 20 + 5 = 25 W2 Prepare 20 + 5 = 25; commit still pending R2 10 + 25 = 35 kWh COMMIT R1 reads before W1 commits. R2 starts and reads after that commit. R1 keeps SUM = 30. R2 keeps SUM = 35 while their transactions remain open. dataMinds Connect Sam Debruyn
Transactions · Snapshot reads Fabric Data Warehouse 113 Warehouse data and version metadata Source [2] Transactions 2024 §2, Figure 1 SQL FE: internal SQL catalog Manifests: committed references and their order OneLake: physical metadata Manifest files and checkpoints describe table state OneLake: table data Parquet data files and deletion vectors for row validity A Log-Structured Table (LST) records table changes over immutable data files. The catalog selects a history. Its manifests describe the files and row masks to read. dataMinds Connect Sam Debruyn
Transactions · Snapshot reads Fabric Data Warehouse 114 The Manifests table and the manifest files Source [2] Transactions 2024 §2.2–3.2, Figure 4 SQL FE: Manifests catalog table TableId ManifestFileName SequenceId TransactionId 1001 M1.json 1 T1 1001 M2.json 2 T2 M2.json Added files and row masks Internal OneLake location 1001 = dbo.EnergyUsage SequenceId orders committed changes in this snapshot. Teaching names M1 / M2. The paper uses GUID-based file names. One committed transaction contributes a manifest reference for each table it changes. The SQL catalog decides visibility. OneLake stores the physical change records. dataMinds Connect Sam Debruyn
Transactions · Snapshot reads Fabric Data Warehouse 115 Resolving the snapshot’s physical data Source [2] Transactions 2024 §3.2.1, §4.1.1 Reader R2 Snapshot after W1 commits Manifests in SQL catalog Select visible references OneLake metadata Checkpoint + later manifests Parquet data A: 10, 20 · B: 25 DV_A: row mask for A Skip position 1 in A Visible rows: 10, 25 SUM = 35 kWh The chosen metadata defines both the files and their row masks. The Warehouse backend nodes read physical objects from OneLake after resolving the query’s SQL snapshot. A snapshot includes the correct data-file membership and the correct deletion-vector versions. dataMinds Connect Sam Debruyn
Transactions · Snapshot reads Fabric Data Warehouse 116 Query times stay close during ingestion Source [2] Transactions 2024 · Figure 9, §7.2 TPC-H, 1 TB, all 22 queries. Mean of three warm runs after one run to populate the caches. Query latency (seconds) 0 10 20 30 40 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Queries alone With concurrent load The load uses separate nodes while readers keep their committed snapshot and warm file caches. The concurrent load writes the same tables in a separate, uncommitted transaction. Bar heights are approximate. dataMinds Connect Sam Debruyn
Transactions · Snapshot reads 117 Recap: snapshot reads Source [2] Transactions 2024 §2–4 / Learn: transactions Which rows does a query see while writers run? A snapshot fixes the files and deletion vectors a query reads Readers Committed file / DV registrations Reader R1 S1 · A: 10 + 20 = 30 kWh Both physical rows in A are visible. S1 stays pinned W1: DV_A {1} + B {25} The 20-to-25 correction keeps A’s bytes. S2 · A + DV_A + B = 35 kWh A contributes 10; B contributes 25. Current Reader R2 R1: 30 kWh R2: 35 kWh R1 pins S1: both original rows in A, totaling 30 kWh. W1 prepares a mask, replacement row and manifest. The SQL commit selects the new file and mask registrations. Each reader keeps its selected data and row-mask versions. Fabric Data Warehouse Warehouse selects committed Manifests references, then reads the matching OneLake files and row masks. Prepare a write and define its SQL commit point. dataMinds Connect Sam Debruyn
Transactions · Atomic commits and conflicts Fabric Data Warehouse 118 Distributed writes, one commit Source [2] Transactions 2024 §3.2–4.3 / Learn: transactions DCP: schedule write tasks OneLake: prepared objects SQL front end Distributed write plan SQL backend node A Cells C0, C2 SQL backend node B Cells C1, C3 New Parquet and row masks Manifests describe these file changes SQL front end Validate + COMMIT New Warehouse snapshot Committed files + row masks Write tasks prepare new objects; SQL front end commits their references. Prepared changes become visible to other Warehouse transactions at COMMIT. dataMinds Connect Sam Debruyn
Transactions · Atomic commits and conflicts Fabric Data Warehouse 119 INSERT, DELETE and UPDATE over immutable files Source [2] Transactions 2024 §4.1.1 / Delta Lake: deletion vectors INSERT account 3 = 30 DELETE account 2 UPDATE account 2 → 25 A.parquet · physical rows Position 0: account 1 = 10 · Position 1: account 2 = 20 New B.parquet Account 3 = 30 Read 10 + 20 + 30 SUM = 60 kWh Deletion vector DV_A Skip position 1: the old 20 Read 10 SUM = 10 kWh DV_A skips position 1 The old 20 stays in A + New B.parquet · account 2 = 25 Read 10 + 25 = 35 kWh Three independent operations on the same starting table: account 1 = 10 kWh; account 2 = 20 kWh. INSERT adds data. DELETE masks old rows. UPDATE does both; A’s original bytes remain. dataMinds Connect Sam Debruyn
Transactions · Atomic commits and conflicts 120 Commit the correction and its log entry together An explicit transaction commits at COMMIT. In autocommit mode, each statement is a transaction. Source [2] Transactions 2024 §3.2.3 / Learn: transactions T-SQL 1 BEGIN TRAN; 2 UPDATE dbo.EnergyUsage 3 SET kwh = kwh + 5 WHERE account_id = 2; 4 5 INSERT dbo.CorrectionLog (account_id, new_kwh) 6 SELECT account_id, kwh 7 FROM dbo.EnergyUsage WHERE account_id = 2; 8 COMMIT; Prepare UPDATE + INSERT Commit catalog references Both tables become visible W1 reads its own updated value when inserting the log entry. COMMIT makes both table changes visible together. dataMinds Connect Sam Debruyn
Transactions · Atomic commits and conflicts Fabric Data Warehouse 121 Concurrent writes: retry the transaction Source [2] Transactions §4.4.1 / Learn: transactions / Microsoft roadmap: Q4 2026 (planned) Writer W1 Writer W2 Reads 20 Prepares 20 + 5 = 25 Reads 20 Prepares 20 + 5 = 25 First commit succeeds Account 2 becomes 25 Planned · Q4 2026 File-level conflict checks Conflict: roll back Discard the prepared 25 Fresh transaction Read 25; add 5; commit 30 Today: table-level conflict checks. Changes to different rows can also conflict. Final account 2 = 30 kWh · table total = 40 kWh Two independent +5 kWh corrections to account 2. Both transactions start with 20. After a confirmed conflict rollback, retry the complete transaction from a fresh snapshot. dataMinds Connect Sam Debruyn
Transactions · Atomic commits and conflicts Fabric Data Warehouse 122 A schema change can make SELECT wait Source [2] Learn: query blocking / Transactions 2024 §3–4 Session A ALTER TABLE Schema-modification lock Sch-M Session B: SELECT Waits for schema access A: COMMIT or ROLLBACK Release the schema lock B: SELECT continues Uses its data snapshot A schema change holds a lock on the table until its transaction ends. Keep transactions short; inspect blocking_session_id in sys.dm_exec_requests when a query waits. dataMinds Connect Sam Debruyn
Transactions · Atomic commits and conflicts 123 Recap: atomic metadata commits Source [2] Transactions 2024 §3–4 / Learn: transactions How do compute nodes commit one business change? Prepare the files, then commit all affected table references together Prepared objects EnergyUsage: 20 → 25 M_usage CorrectionLog: record 25 M_log SQL FE: catalog commit EnergyUsage CorrectionLog Previous reference Committed M_usage Previous reference Committed M_log Conflict checks pass The corrected reading and its log entry belong together. Manifests are ready before the catalog commit. Validate competing modifications. A new Warehouse snapshot sees both table changes. Fabric Data Warehouse SQL backend nodes prepare OneLake objects; SQL front end validates conflicts and commits the changed tables’ references together. Keep the old files and row masks while readers still need them. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 124 Warehouse maintains its storage in the background Source [2] Transactions 2024 §5.1–5.3 / Learn: performance guidance SELECT tasks Observe file health SQL FE aggregates File / row / delete counts STO evaluates thresholds Small files / deleted rows Compaction Rewrite physical data Long manifest history Checkpoint Summarize metadata Expired / abandoned data Garbage collection Reclaim unreachable bytes The System Task Orchestrator (STO) schedules storage maintenance in the background. Warehouse manages file compaction, metadata checkpoints and physical cleanup as separate operations. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 125 Compaction rewrites files without changing the rows Source [2] Transactions 2024 §5.1 / Learn: performance guidance Old physical representation A.parquet 10, 20 B.parquet 25 DV_A skips position 1: value 20 Compaction task Read surviving rows Write larger Parquet files C.parquet 10, 25 Maintenance COMMIT Retire A + B; add C Older snapshots keep A, B and DV_A until their references and retention allow cleanup. Continue after W1: A holds 10 and 20; DV_A excludes the 20; B holds the replacement 25. Compaction changes file layout. The visible result stays 10 + 25 = 35 kWh. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 126 Checkpointing the table’s metadata history Source [2] Transactions §5.2 / Fabric: automatic log checkpoints One manifest per transaction (M1–M8 grouped) M1–M8 M9 M10 M11 M12 Checkpoint through M10 Active files and DV registrations Replay M11 Replay M12 Warehouse checkpoints its internal table log every 10 transactions, asynchronously. Checkpointing shortens metadata replay. Data compaction separately rewrites Parquet files. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 127 Garbage collection protects snapshots and clones Source [2] Transactions 2024 §5.3 / Learn: retention and configuration References that keep A alive Old A.parquet Removed from current table An active reader’s snapshot A live table in the clone lineage A retained historical version Delete physical bytes When all roots release them Untracked output: check active writers ALTER DATABASE CURRENT SET TIME_TRAVEL_RETENTION_PERIOD = 15 DAYS; 15-day example Default 30; range 1–120 days A compacted or deleted file can still belong to a retained version or a clone. Garbage collection combines committed references, retention and the oldest active transaction. dataMinds Connect Sam Debruyn
Transactions · Version retention 128 Time travel selects the usage snapshot by timestamp Fabric time travel (preview) reads a retained snapshot at a UTC timestamp. Source [2] Transactions 2024 §6.1 / Learn: time travel T-SQL 1 SELECT a.district, SUM(u.kwh) AS total_kwh 2 FROM dbo.EnergyUsage AS u 3 JOIN dbo.Account AS a 4 ON u.account_id = a.account_id 5 WHERE u.usage_date >= '2026-01-01' 6 AND a.account_type = 'Industrial' 7 GROUP BY a.district 8 OPTION (FOR TIMESTAMP AS OF '2026-10-02T09:00:00'); 1 The timestamp applies to every joined warehouse table. 2 Historical manifests select retained files and their historical row masks. dataMinds Connect Sam Debruyn
Transactions · Version retention 129 A table clone copies references to retained data A table clone creates a writable table that initially shares the selected version’s immutable data. Source [2] Transactions 2024 §6.2 / Learn: table clones T-SQL 1 CREATE TABLE sandbox.EnergyUsage 2 AS CLONE OF dbo.EnergyUsage 3 AT '2026-10-02T09:05:00'; 1 Copy logical metadata for the selected EnergyUsage version. 2 Source and clone share immutable files, then evolve independently. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 130 A clone keeps references to the original file paths Source [2] Transactions 2024 §5.3–5.4, §6.2 / Learn: table clones Source table: TableId 1001 Clone table: TableId 2001 Existing internal OneLake paths M1.json + M2.json Visible rows: 10, 25 Same M1.json + M2.json M1.json M2.json A + DV_A; B Visible rows: 10, 25 Clone’s next INSERT: M3_clone + new C.parquet Source retains its own history Clone EnergyUsage after W1’s commit. Copy catalog references under a new table identity. Existing manifests and Parquet stay at their original paths. New clone writes add new objects. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 131 A Warehouse Snapshot keeps reporting at a chosen time Source [2] Learn: Warehouse Snapshots / Learn: snapshot management / Transactions 2024 §6.1 Source Warehouse ReportingSnapshot: one SQL endpoint 09:05 · after W1 SUM = 35 Captured at 09:05 SUM = 35 Later · W2 retry commits Current SUM = 40 Still at 09:05 SUM = 35 Current source SUM = 40 Capture new state New queries: SUM = 40 Source advances; snapshot stays fixed A Warehouse Snapshot exposes a read-only point in time through its own SQL endpoint. Advance the snapshot after a successful transformation run; reports keep the same connection string. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 132 Advance the reporting snapshot after the job Source Learn: snapshot management / Learn: Warehouse Snapshots ALTER DATABASE [ReportingSnapshot] SET TIMESTAMP = CURRENT_TIMESTAMP; Same reporting endpoint Query already running Uses the previous timestamp Query starting after the change Uses the new timestamp Use a stable SQL reporting view while dbt or other transformations update the source Warehouse. Create the snapshot in Warehouse → Management → New warehouse snapshot. Run ALTER DATABASE in the parent Warehouse. Queries already running finish on their earlier snapshot. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 133 Warehouse clones at a restore point Source [2] FabCon T16 p43 / Transactions 2024 §6.2–6.3 Source restore point Catalog state for all tables Production Warehouse Workspace / capacity A Writable Warehouse Clone Workspace / capacity B Shared retained data Same existing Parquet objects Clone writes new data Independent from production FabCon T16: Warehouse Clones, private preview. Start a writable Warehouse at a restore point. The clone gets its own writable state. Initial user data is shared through references. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 134 Restore points preserve catalog state over retained data Source [2] Transactions 2024 §6.3 / Learn: restore points R0: before correction Catalog → A Visible total 30 R1: after W1 Catalog → A + DV_A, B Visible total 35 Current Warehouse Later catalog state Visible total 40 OneLake: retained immutable Parquet and deletion-vector objects Restore R1 Same Warehouse: SUM = 35 A restore point preserves catalog state and references to retained OneLake data. Restore-in-place replaces the Warehouse’s current state with the selected restore point. dataMinds Connect Sam Debruyn
Transactions · Version retention Fabric Data Warehouse 135 Choose the scope of the retained version Source [2] Transactions 2024 §6 / Learn: time travel / Learn: table clones / Learn: Warehouse Snapshots / Learn: restore points / FabCon T16 p43 Feature What you get Writable? Time travel One historical SELECT statement Read-only Table clone A new table, starting at a selected time Yes Warehouse Snapshot A stable reporting SQL endpoint Read-only Warehouse Clone ¹ A separate Warehouse at a restore point Yes Restore-in-place The existing Warehouse at a restore point Yes ¹ Warehouse Clone: private preview announced at FabCon. Other rows follow current Learn documentation. Each feature selects retained data through metadata; the scope and write behavior differ. The metadata operation is small. Referenced historical data still needs retention and storage. dataMinds Connect Sam Debruyn
Transactions · Version retention 136 Recap: version retention Source [2] Transactions 2024 §5–6 / Learn: time travel / Learn: table clones / Learn: Warehouse Snapshots / Learn: restore points / FabCon T16 p43 How long must old versions stay available? Keep files until readers, clones and retention release their references Reader R · v1 Clone · v1 Current · v2 File A File B File C Retain A until references and retention release it. A removed Safe cleanup · B and C remain Older roots can still reach A and B. Current v2 also keeps B and C alive. Finishing R leaves the clone’s references. A stays retained until the remaining checks pass. Cleanup removes only the file whose lifetime has ended. Fabric Data Warehouse Warehouse retains versions for time travel, snapshots, clones and restore points; maintenance reclaims released objects. Publish committed Warehouse changes for other readers. dataMinds Connect Sam Debruyn
Transactions · Commit publication Fabric Data Warehouse 137 One physical dataset, two metadata paths Source [2] Transactions 2024 §2.2, §5.4 / Learn: Delta publication Warehouse: committed metadata Visible table folder SQL catalog Manifests references Internal OneLake Manifests / checkpoints _delta_log External Delta readers Data shortcut Visible Parquet paths Publish metadata OneLake physical data: A.parquet + DV_A, B.parquet Warehouse and Delta readers open these same objects One physical Parquet dataset. Warehouse reads it through internal metadata; lake readers use published metadata. The visible data folder exposes the same stored bytes through OneLake shortcuts. Publishing copies metadata. dataMinds Connect Sam Debruyn
Transactions · Commit publication Fabric Data Warehouse 138 A Warehouse table’s published OneLake folders Source [2] Transactions §5.4 / Delta protocol / Learn: Delta publication and Iceberg metadata Tables/dbo/EnergyUsage/ _delta_log/ 000…043.json 000…042.checkpoint.parquet _last_checkpoint JSON transactions record changes. Checkpoints summarize the table state. _last_checkpoint locates a checkpoint. <data-folder-guid>/ part-A.parquet part-B.parquet A OneLake shortcut exposes the Parquet files Warehouse reads. metadata/ 043.metadata.json *.avro latest_conversion_log.txt OneLake generates Iceberg metadata asynchronously from the Delta log. Avro files hold manifest lists and manifests. Illustrative table folder. GUID = globally unique identifier. File names are abbreviated. Delta and Iceberg metadata refer to the same stored Parquet data. dataMinds Connect Sam Debruyn
Transactions · Commit publication Fabric Data Warehouse 139 Pausing publication during a transformation run Source Learn: Delta publication / OneLake events Warehouse Delta readers Before pause Committed state A Published state A After a new SQL commit Committed state B Published state A After publication resumes Committed state B Published state B ALTER DATABASE CURRENT SET DATA_LAKE_LOG_PUBLISHING = PAUSED; ALTER DATABASE CURRENT SET DATA_LAKE_LOG_PUBLISHING = AUTO; Warehouse commits intermediate states while Delta readers retain the last published state. AUTO publishes committed state asynchronously. Delta readers refresh after publication. dataMinds Connect Sam Debruyn
Transactions · Commit publication Fabric Data Warehouse 140 Lakehouse changes reach SQL through metadata sync Source [2] Learn: SQL endpoint performance / Transactions 2024 §5.4 Spark write Delta transaction Lakehouse Snapshot after t32 Workspace metadata discovery SQL endpoint metadata updated During sync SQL can still expose the earlier state On-demand refresh Portal or metadata refresh API Lakehouse metadata sync normally takes under a minute. Large change volumes and file counts can extend the lag. Warehouse Delta publication and Lakehouse-to-SQL metadata sync are separate visibility paths. dataMinds Connect Sam Debruyn
Transactions · Commit publication 141 Recap: Warehouse and Delta publication Source [2] Transactions §5.4 / Learn: Delta publication When do other readers see a commit? Publish the committed version for each kind of reader Time SQL External State A Commit B SQL reader · B Reader · A Background Delta publication Log: state B Reader · B Both reader paths currently see table state A. The internal SQL commit establishes state B. A new SQL transaction sees B; the Delta reader still sees A. The publisher registers state B in the external Delta log. Refresh lets the external reader select published state B. Fabric Data Warehouse Warehouse SQL uses internal committed manifests. Delta and Iceberg readers use published metadata over the same OneLake data. dataMinds Connect Sam Debruyn
Transactions · Design recap 142 Transactions recap Source [2] Transactions 2024 §3–5 / Learn: transactions / +3 sources Planning Plans + execution Reduction Filter + shared SQL Acceleration Execution Tasks + resources + caches Storage Columns + snapshots Transactions Commit + publication Distributed writes prepare objects; one SQL catalog commit exposes their references. Retained metadata enables historical queries, snapshots, clones and restore points. Fabric Data Warehouse OneLake shares the Parquet bytes. Warehouse, Delta and Iceberg readers use their own metadata entry points. Next: run supported query work on specialized hardware dataMinds Connect Sam Debruyn
Acceleration · Design questions 143 Question 6 of 6 Acceleration When does specialized hardware pay off? 1 2 3 4 5 6 dataMinds Connect Sam Debruyn
Acceleration · The city requirement 144 Reporting deadlines as data grows The filter, join and SUM may benefit from GPUs. Their buffers still have to arrive. Design question: when does faster compute shorten this query? dataMinds Connect Sam Debruyn
Acceleration · Device contracts 145 The coprocessor interface How can devices preserve SQL semantics? CAL is the Coprocessor Abstraction Layer: the host describes, prepares and executes supported fragments. Source [9] CoddSpeed 2026 §2, Figure 1 SQL Server Fabric Warehouse Other query engines CAL Plan and execute Reconfigurable logic (FPGA) GPU parallel operators Custom circuit (ASIC) The SQL host chooses the plan and controls query execution. CAL describes supported coprocessor operations and how the host runs them. FPGA = Field-Programmable Gate Array. ASIC = Application-Specific Integrated Circuit. dataMinds Connect Sam Debruyn
Acceleration · Device contracts 146 Supported fragments and device memory Source [7], [8], [9] CoddSpeed 2026 §2.2–2.5 / Bitmap filtering 2026 §3 / Decorrelation 2025 §3 / CoddSpeed 2026 §3.1 Host SQL execution Eligible device fragment Usage plan filter + Account join + SUM CAL capability check operators, types, memory estimate Input chunks within the execution contract GPU kernels join + aggregate Host executes remaining operators and combines results Usage fragment: filter EnergyUsage, join Industrial Account and SUM(kwh) by district. Memory estimates and supported SQL operations shape the offload boundary. dataMinds Connect Sam Debruyn
Acceleration · Device contracts 147 Choosing a coprocessor fragment Source [9] CoddSpeed 2026 §2.4–2.5, §3.1–3.2 / Figures 4–6 GPU plan SQL host EnergyUsage: probe input Build once: Account lookup account_id district 1001 North 1003 South Probe chunk 1 account_id kWh 1001 10 1003 20 Look up account_id JOIN + partial SUM Chunk 1 sums (kWh) North 10 / South 20 Probe chunk 2 account_id kWh 1001 30 1003 40 Chunk 2 sums (kWh) North 30 / South 40 Global SUM (kWh) North 40 / South 60 CPU retries failed chunks Probe chunk: one batch of EnergyUsage rows checked against the same Account lookup. GPU savings must exceed preparation and data movement costs. dataMinds Connect Sam Debruyn
Acceleration · Device contracts 148 Preparing and executing a coprocessor plan Source [9] CoddSpeed 2026 §2.3–2.5, §3.2, Figure 6 Open GetNext Initial CreateQueryPlan Fixed inputs (NonPart) Prepare state (Setup) Probe chunk (Partitionable) Result rows (Results) Done return results Fallback GetNext Open initializes the CAL plan; GetNext supplies chunks, prepares fixed state and returns results. Prepared build state is reused across probe chunks. The host fallback preserves the same SQL result. dataMinds Connect Sam Debruyn
Acceleration · Device contracts 149 Snapshot deletion vectors on the GPU Source [9] CoddSpeed 2026 §3.3 Row position kWh 0 10 1 20 2 30 Row position Deleted bit 0 0 1 1 2 0 GPU visibility filter retain rows 0 and 2 SUM for this input 10 + 30 = 40 Bit 1 excludes that physical row from this snapshot. One input file: the GPU receives its rows and the selected snapshot’s deletion bitmap. Apply row visibility before a deleted row contributes to SUM(kwh). dataMinds Connect Sam Debruyn
Acceleration · Device contracts Fabric Data Warehouse 150 GPU offload in Fabric’s SQL execution path Source [9] Build OD813 / FabCon W29 p37–38 / CoddSpeed / Learn: query acceleration Q P F F F K K C R R R R R R R R Client SQL, auth SQL frontend Parse, optimize DQP Schedule tasks SQL backend node #1 SQL backend node #2 SQL backend node #N GPU CPU GPU Client SQL frontend DQP SQL backend nodes CPU / GPU SQL backend nodes run their assigned fragments through CPU and eligible GPU paths. Query (Q) Plan (P) Fragments (F) GPU kernels (K) CPU work (C) Results (R) dataMinds Connect Sam Debruyn
Acceleration · Device contracts Fabric Data Warehouse 151 Query acceleration in Fabric Warehouse Source Learn: query acceleration / FabCon T16 p18–19 / Build 2026 OD813 GPU demo / Learn: acceleration FAQ Same physical node T-SQL workload Warehouse + SQL endpoint CPU host Plan + operator eligibility GPU coprocessor Selected SQL fragments Power BI DirectQuery Generates warehouse SQL Setting change Cancels running workspace queries Limited preview: approved tenant, supported region and a workspace setting. While enabled, all Warehouse and SQL endpoint queries use the higher-rate Capacity Unit (CU) meter. dataMinds Connect Sam Debruyn
Acceleration · Device contracts Fabric Data Warehouse 152 SQL types and collation affect GPU eligibility Source FabCon W29 p36, p39–40 / Learn: query acceleration and data types NVARCHAR Limited support · Microsoft Learn Case-insensitive collation Limited support · Microsoft Learn VARCHAR(MAX) Support in progress · FabCon W29 Current GPU preview limitations · Microsoft Learn + FabCon W29, September 2026. Fabric executes eligible fragments on the GPU; the host completes the query. dataMinds Connect Sam Debruyn
Acceleration · Device contracts Fabric Data Warehouse 153 Checking GPU execution in Fabric Source Learn: query acceleration / Learn: result set caching / Learn: performance guidance / Learn: acceleration plan Query Insights: executed request Estimated plan: offloaded operators SELECT TOP (20) distributed_statement_id, command, is_accelerated, result_cache_hit, data_scanned_remote_storage_mb FROM queryinsights.exec_requests_history ORDER BY submit_time DESC; is_accelerated = 1: the run used GPU fragments. Query Acceleration identifies the fragment. Open its properties for operator details. result_cache_hit: answer reuse 0 ineligible · 1 created · 2 reused Remote scan MB: OneLake reads Compare equivalent starting cache states. dataMinds Connect Sam Debruyn
Acceleration · Device contracts Fabric Data Warehouse 154 Explaining a slow or failed query Source [1], [6] Learn: troubleshooting / Learn: performance guidance / UQO 2024 §4 / Polaris 2020 §6–7 Plan inputs Backend work Result delivery Statistics + estimates SHOWPLAN_XML Query shape Skew + concurrency Data cache + remote reads tempdb: temporary storage Output volume Frontend + network Client behavior CREATE TABLE AS SELECT (CTAS) stores a SELECT result inside Warehouse to investigate client delivery. Keep Statement ID + Distributed request ID + timestamp + exact error with the query evidence. A slow or failed query needs evidence from compilation, backend work and result delivery. UQO costs a plan; DQP schedules its tasks. The client still needs to receive the complete result. dataMinds Connect Sam Debruyn
Acceleration · Device contracts 155 Recap: GPU offload through CAL Source [9] CoddSpeed 2026 §2–3 / Learn: query acceleration How can devices preserve SQL semantics? Offload a supported fragment when the estimated saving pays for it SQL Server host GPU coprocessor CAL interface 1 · Plan + fixed input Typed Substrait plan + Account rows Create plan · Prepare Plan + Account lookup Reuse for every chunk 2 · Input rows EnergyUsage chunk Send chunk · Execute JOIN + partial SUM 3 · Result rows Return chunk results Partial district sums Consume partial sums Global SUM · fallback The host chooses an eligible fragment; CAL connects it to the GPU. Prepare once: the Account lookup stays on the GPU. Input moves to the right. Each chunk reuses the lookup. Results move to the left. Repeat for the next input chunk. The host combines results and runs CPU fallback for failed chunks. Fabric Data Warehouse The SQL Server host prepares an eligible fragment through CAL, processes input chunks and consumes the returned rows. Next: read the results with their cold and warm input conditions dataMinds Connect Sam Debruyn
Acceleration · End-to-end costs 156 Cold and warm input in CoddSpeed Source [9] CoddSpeed 2026 §4.1 Cold GPU input Warm GPU input Host memory input buffers Host to device transfer included in measurement GPU execution operators + result GPU memory input already resident GPU execution operators + result Measurement starts here CoddSpeed’s cold and warm measurements differ in where the input resides at the start. Remote-storage reads add another path before the paper’s host-to-device cold transfer. dataMinds Connect Sam Debruyn
Acceleration · End-to-end costs 157 CoddSpeed: results on one backend node Source [9] CoddSpeed 2026 · Figure 13, §4.1.2 16 production queries, 300 GB compressed; one NVIDIA A100 (80 GB) versus one CPU Fabric backend node. Speedup (CPU Fabric backend node = 1 × ) 0 10 20 30 40 Q01 Q02 Q03 Q04a Q04b Q05 Q06a Q06b Q06c Q07 Q08 Q09 Q10 Q11a Q11b Q12 Total Warm GPU cache Cold GPU cache Workload speedup: 14.9 × warm; 9.7 × cold. Q03, Q08 and Q12 account for much of the gain. TPC-H: scale factor 100 (SF100): 7.9 × warm / 4.7 × cold. Production bars approximate; totals exact. dataMinds Connect Sam Debruyn
Acceleration · End-to-end costs Fabric Data Warehouse 158 Source FabCon W29 p31 · September 2026 internal benchmark GPU query time under concurrency 300 GB DirectQuery · 2 / 8 / 32 / 128 users · Microsoft internal tests, September 2026 Microsoft internal benchmark · anonymized products · reported workload and ratios · results vary by environment. dataMinds Connect Sam Debruyn
Acceleration · End-to-end costs Fabric Data Warehouse 159 Source FabCon W29 p32 · September 2026 internal benchmark Cost for the same concurrent workload 300 GB DirectQuery · 2 / 8 / 32 / 128 users · Microsoft internal tests, September 2026 Microsoft internal benchmark · anonymized products · reported workload and ratios · results vary by environment. dataMinds Connect Sam Debruyn
Acceleration · End-to-end costs Fabric Data Warehouse 160 Faster execution and CU consumption Source FabCon W29 p33 · illustrative estimates / Learn: CU usage reporting Execution speedup Relative CU consumption 1.0 × 3 × faster ~2.1 × higher 6.4 × faster ~1.0 × neutral 7 × faster ~9% lower 10 × faster ~36% lower Capacity Unit (CU) consumption · FabCon illustrative model · values shown relative to CPU execution Measure latency and consumed capacity together for the workload you will run. dataMinds Connect Sam Debruyn
Acceleration · GPU research overview 161 Getting data to the GPU efficiently Source [5,9,10,16] ZipFlow / CoddSpeed / compressed analytics / terabyte analytics ZipFlow Compressed transfer Compressed columns Decode on GPU Transfer fewer bytes; include GPU decoding time. Compressed analytics Run-Length Encoding (RLE) 5 × 100 rows 7 × 20 rows SUM = 640 Compute over runs; keep intermediate data compact. Multiple GPUs CoddSpeed + terabyte analytics GPU 1 GPU 2 NVLink within a node; InfiniBand between nodes. GPU research: transfer compressed data, compute over runs and connect device memory. Prototype: TPC-H 1 TB · 40 H100s / 5 nodes · 22 warm-query times total 0.53 s. dataMinds Connect Sam Debruyn
Acceleration · GPU research overview 162 Improving GPU query operators Source [13–15] Rubberband / TQP++ / SQL scalar functions Rubberband Compact hash-join buckets Hash the join key row 1 row 2 row 3 Scan a contiguous bucket; check full keys afterwards. TQP++ Tensor Query Processor Filter Join SUM Fused GPU kernel Fuse supported operators; fewer intermediate writes. SQL scalar functions Compile existing implementations YEAR() LOWER() GPU kernel Keep SQL types, NULL behavior and collation semantics. A GPU kernel is a device program. Fusion combines neighboring SQL operators in one program. Rubberband improves CoddSpeed’s hash join; TQP++ and scalar functions study GPU compilation. dataMinds Connect Sam Debruyn
Acceleration · Design recap 163 Acceleration recap Source [9] CoddSpeed 2026 §2–4 / Learn: query acceleration / FabCon T16 p39–41 Planning Plans + execution Reduction Filter + shared SQL Acceleration CAL + operators Execution Tasks + resources + caches Storage Columns + snapshots Transactions Commit + publication CAL connects eligible SQL fragments to GPU execution. Transfer, preparation and remaining CPU work determine the complete query gain. Fabric Data Warehouse Fabric offloads eligible fragments. Compare complete runs using the same workload and starting cache state. Next: review the engine design against the city’s workloads dataMinds Connect Sam Debruyn
Design review · Architecture evolution 164 What changed since Polaris 2020 Source [1], [2], [6] Polaris 2020 §3.1, §5.3 / UQO 2024 §4.2.5 / Transactions 2024 §2.3 Design area Polaris 2020 Later Fabric papers Optimization MEMO first, distribution second One UQO physical-plan search Task input T-SQL template, backend recompilation Serialized physical fragments Execution platform DQP DQP within DCP Cell partition p(r) User-defined partition function Sort order within hash bucket; Z-ordering Several mechanisms keep their names while their implementations and boundaries evolve. The published design preserves cells and tasks while changing plan search, transport and storage layout. dataMinds Connect Sam Debruyn
Design review · Fabric implementation evidence Fabric Data Warehouse 165 Engine improvements reported at FabCon Source [9] FabCon W29 p7, p10, p37–38 · T16 p9 · Learn: statistics Learn from previous executions varchar(max) processing Handoff to the GPU Query optimizer Execution Observed row counts Use on the next run Resource requests + concurrency Previous CPU consumption Now: one-third 3 × less CPU SQL backend node Chosen GPU fragment Substrait sub-plan GPU runtime Execute fragment Fabric Warehouse · FabCon Europe 2026 · W29 p7, p10 and p37–38 Links back to planning: common subexpression elimination and background column statistics. dataMinds Connect Sam Debruyn
Design review · Fabric implementation evidence Fabric Data Warehouse 166 Warehouse performance over twelve months Source FabCon T16 p8 70% Better performance in 12 months* * 10 TB TPC-DS · serial run · September 2025 baseline dataMinds Connect Sam Debruyn
Design review · Fabric architecture Fabric Data Warehouse 167 The Fabric Warehouse architecture Source [1], [2], [6], [9] UQO Fig. 4 / Transactions §5 / CoddSpeed §2–3 / Learn / FabCon W29, TH13 SQL FE · Front End DCP · Distributed Compute Platform Elastic SELECT pool SQL BE node · SQL Server NONSELECT pool SQL BE node · SQL Server OneLake · one copy of the data STO · System Task Orchestrator T-SQL client Parse + authorize UQO · optimizer Physical plan SQL DB catalog Refs · WriteSets DQP · task scheduling Query DAG + placement Resource governor Pool allocation CPU CAL GPU Memory + SSD cache GPU preview CPU operators Memory + SSD cache Scribe · high-throughput shuffle and data movement Parquet files Deletion vectors Internal manifests + checkpoints Published Delta _delta_log Compact + checkpoint Garbage collection Async Delta publication Compact request After commit Plan / task control Rows, results and file I/O Commit / Delta publication dataMinds Connect Sam Debruyn
Design review · Design complete 168 Source [1,2,6–9] Polaris / Transactions / UQO / bitmap filtering / decorrelation / CoddSpeed Design day complete Design complete 1 · Storage Select columns and committed versions 2 · Execution Cells, tasks, retries and resource budgets 3 · Planning One UQO search; typed Substrait plans 4 · Reduction Bitmap filters and shared SQL work 5 · Transactions Atomic commits; retain referenced files 6 · Acceleration CAL offloads eligible SQL fragments Slides and papers: debruyn.dev/dmc26 dataMinds Connect Sam Debruyn
Design review · Research papers 169 References (1 of 16) Links Papers and documentation: debruyn.dev/dmc26 [1] J. Aguilar-Saborit et al., “Polaris: The Distributed SQL Engine in Azure Synapse,” Proc. VLDB Endow., vol. 13, no. 12, pp. 3204–3216, 2020. doi: 10.14778/3415478.3415545. [2] J. Aguilar-Saborit et al., “Extending Polaris to Support Transactions,” 2024, arXiv:2401.11162. doi: 10.48550/arXiv.2401.11162. [3] R. Alotaibi et al., “Towards Query Optimizer as a Service (QOaaS) in a Unified LakeHouse Ecosystem: Can One QO Rule Them All?,” in Proc. CIDR, 2025. [Online]. Available: https://www.vldb.org/cidrdb/papers/2025/p5-alotaibi.pdf. [4] H. Zhao et al., “I Can’t Believe It’s Not Yannakakis: Pragmatic Bitmap Filters in Microsoft SQL Server,” in Proc. CIDR, 2026. [Online]. Available: https://www.cidrdb.org/cidr2026/papers/p29-zhao.pdf. dataMinds Connect Sam Debruyn
Design review · Research papers 170 References (2 of 16) Links Papers and documentation: debruyn.dev/dmc26 [5] G. Yeo et al., “ZipFlow: a Compiler-based Framework to Unleash Compressed Data Movement for Modern GPUs,” 2026, arXiv:2602.08190. doi: 10.48550/arXiv.2602.08190. [6] N. Bruno et al., “Unified Query Optimization in the Fabric Data Warehouse,” in Proc. ACM SIGMOD Companion, 2024, pp. 18–30. doi: 10.1145/3626246.3653369. [7] N. Bruno, C. Galindo-Legaria, and M. Joshi, “Query Decorrelation in the Fabric Data Warehouse,” in Proc. ACM SIGMOD Companion, 2025, pp. 297–309. doi: 10.1145/3722212.3724448. [8] N. Bruno, E. Cervantes Juárez, C. Galindo-Legaria, M. Joshi, J. A. López Magaña, and J. Aguilar Saborit, “Bitmap Filtering in the Fabric Data Warehouse,” in Proc. ACM SIGMOD Companion, 2026, pp. 227–238. doi: 10.1145/3788853.3803075. dataMinds Connect Sam Debruyn
Design review · Research papers 171 References (3 of 16) Links Papers and documentation: debruyn.dev/dmc26 [9] M. Interlandi et al., “CoddSpeed: Hardware Accelerated Query Processing in Microsoft Fabric,” in Proc. ACM SIGMOD Companion, 2026, pp. 359–372. doi: 10.1145/3788853.3803077. [10] Z. Huang et al., “GPU Acceleration of SQL Analytics on Compressed Data,” Proc. VLDB Endow., vol. 19, no. 3, pp. 320–333, 2025. doi: 10.14778/3778092.3778095. [11] B. Ding, V. Narasayya, and S. Chaudhuri, “Extensible Query Optimizers in Practice,” Found. Trends Databases, vol. 14, no. 3–4, pp. 186–402, 2024. doi: 10.1561/1900000077. [12] P. G. Selinger, M. M. Astrahan, D. D. Chamberlin, R. A. Lorie, and T. G. Price, “Access Path Selection in a Relational Database Management System,” in Proc. ACM SIGMOD, 1979, pp. 23–34. doi: 10.1145/582095.582099. dataMinds Connect Sam Debruyn
Design review · Research papers 172 References (4 of 16) Links Papers and documentation: debruyn.dev/dmc26 [13] H. Zhao, R. Sen, C. Peeper, and M. Interlandi, “Rubberband: Memory-Elastic, Skew-Tolerant GPU Hash Joins,” in Proc. ADMS, 2026. [Online]. Available: https://vldb.org/2026/Workshops/VLDB-Workshops-2026/ADMS/ADMS26_6.pdf. [14] W. Cui, P. Cheng, C. Curino, R. Sen, and M. Interlandi, “TQP++: Bridging ML Compilers and Analytical Query Processing on GPUs,” Proc. VLDB Endow., vol. 19, no. 12, pp. 4116–4129, 2026. doi: 10.14778/3827998.3828020. [15] K. Rajan et al., “Scalable GPU Acceleration of Scalar Functions in Analytical Databases: Compilation, Benchmarking, and Optimization,” Proc. VLDB Endow., vol. 19, no. 7, pp. 1441–1454, 2026. doi: 10.14778/3801059.3801061. [16] B. Wu, W. Cui, C. Curino, M. Interlandi, and R. Sen, “Terabyte-Scale Analytics in the Blink of an Eye,” Proc. VLDB Endow., vol. 19, no. 2, pp. 141–155, 2025. doi: 10.14778/3773749.3773754. dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 173 References (5 of 16) Links Papers and documentation: debruyn.dev/dmc26 [17] Microsoft, “Architecture of Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [18] Microsoft, “Configure data retention,” Microsoft Learn. [Online]. Available: learn.microsoft.com [19] Microsoft, “Create and manage a Warehouse Snapshot,” Microsoft Learn. [Online]. Available: learn.microsoft.com [20] Microsoft, “Create streams from OneLake events,” Microsoft Learn. [Online]. Available: learn.microsoft.com [21] Microsoft, “Custom SQL pools,” Microsoft Learn. [Online]. Available: learn.microsoft.com [22] Microsoft, “Data clustering in Fabric Data Warehouse (preview),” Microsoft Learn. [Online]. Available: learn.microsoft.com [23] Microsoft, “Data retention in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [24] Microsoft, “Data types in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 174 References (6 of 16) Links Papers and documentation: debruyn.dev/dmc26 [25] Microsoft, “DBCC SHOW_STATISTICS (Transact-SQL),” Microsoft Learn. [Online]. Available: learn.microsoft.com [26] Microsoft, “Delta Lake logs in Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [27] Microsoft, “EXPLAIN for Synapse Dedicated SQL,” Microsoft Learn. [Online]. Available: learn.microsoft.com [28] Microsoft, “Fabric Data Warehouse performance guidelines,” Microsoft Learn. [Online]. Available: learn.microsoft.com [29] Microsoft, “In-memory and disk caching,” Microsoft Learn. [Online]. Available: learn.microsoft.com [30] Microsoft, “Parallel Data Warehouse components,” Microsoft Learn. [Online]. Available: learn.microsoft.com [31] Microsoft, “Partitioning for Delta tables,” Microsoft Learn. [Online]. Available: learn.microsoft.com [32] Microsoft, “Primary, foreign and unique keys,” Microsoft Learn. [Online]. Available: learn.microsoft.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 175 References (7 of 16) Links Papers and documentation: debruyn.dev/dmc26 [33] Microsoft, “Query acceleration frequently asked questions,” Microsoft Learn. [Online]. Available: learn.microsoft.com [34] Microsoft, “Query acceleration in Fabric Data Warehouse (limited preview),” Microsoft Learn. [Online]. Available: learn.microsoft.com [35] Microsoft, “Query insights in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [36] Microsoft, “Query the Warehouse or SQL analytics endpoint,” Microsoft Learn. [Online]. Available: learn.microsoft.com [37] Microsoft, “REORG command for Delta Lake tables,” Microsoft Learn. [Online]. Available: learn.microsoft.com [38] Microsoft, “Restore in place in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [39] Microsoft, “Result set caching,” Microsoft Learn. [Online]. Available: learn.microsoft.com [40] Microsoft, “Run Delta table maintenance in Lakehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 176 References (8 of 16) Links Papers and documentation: debruyn.dev/dmc26 [41] Microsoft, “SET SHOWPLAN_XML,” Microsoft Learn. [Online]. Available: learn.microsoft.com [42] Microsoft, “SQL analytics endpoint performance considerations,” Microsoft Learn. [Online]. Available: learn.microsoft.com [43] Microsoft, “Statistics in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [44] Microsoft, “Synapse SQL architecture,” Microsoft Learn. [Online]. Available: learn.microsoft.com [45] Microsoft, “sys.sp_get_table_health_metrics (Transact-SQL),” Microsoft Learn. [Online]. Available: learn.microsoft.com [46] Microsoft, “sys.sp_rename in Fabric Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [47] Microsoft, “T-SQL features in Synapse SQL pools,” Microsoft Learn. [Online]. Available: learn.microsoft.com [48] Microsoft, “Table maintenance and optimization across Fabric workloads,” Microsoft Learn. [Online]. Available: learn.microsoft.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 177 References (9 of 16) Links Papers and documentation: debruyn.dev/dmc26 [49] Microsoft, “Tables in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [50] Microsoft, “Time travel in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [51] Microsoft, “Transactions in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [52] Microsoft, “Troubleshoot query blocking,” Microsoft Learn. [Online]. Available: learn.microsoft.com [53] Microsoft, “Troubleshoot the Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [54] Microsoft, “Usage reporting in Fabric Data Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [55] Microsoft, “Use data clustering with CREATE TABLE AS SELECT,” Microsoft Learn. [Online]. Available: learn.microsoft.com [56] Microsoft, “Use Iceberg tables with OneLake,” Microsoft Learn. [Online]. Available: learn.microsoft.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 178 References (10 of 16) Links Papers and documentation: debruyn.dev/dmc26 [57] Microsoft, “V-Order in Fabric Warehouse,” Microsoft Learn. [Online]. Available: learn.microsoft.com [58] Microsoft, “Warehouse snapshots,” Microsoft Learn. [Online]. Available: learn.microsoft.com [59] Microsoft, “What is Fabric Data Warehouse?,” Microsoft Learn. [Online]. Available: learn.microsoft.com [60] Microsoft, “Workload management,” Microsoft Learn. [Online]. Available: learn.microsoft.com [61] Microsoft, “Zero-copy table clones,” Microsoft Learn. [Online]. Available: learn.microsoft.com [62] Apache Software Foundation, “Apache Parquet dictionary encoding,” Apache Parquet specification. [Online]. Available: parquet.apache.org [63] Apache Software Foundation, “Apache Parquet file format,” Apache Parquet specification. [Online]. Available: parquet.apache.org [64] Apache Software Foundation, “Apache Parquet metadata,” Apache Parquet specification. [Online]. Available: parquet.apache.org dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 179 References (11 of 16) Links Papers and documentation: debruyn.dev/dmc26 [65] Apache Software Foundation, “Apache Parquet metadata structures,” Apache Parquet specification. [Online]. Available: github.com [66] Apache Software Foundation, “Apache Parquet nested encoding,” Apache Parquet specification. [Online]. Available: parquet.apache.org [67] Apache Software Foundation, “Apache Parquet pages and encodings,” Apache Parquet specification. [Online]. Available: parquet.apache.org [68] Apache Software Foundation, “Compression,” Apache Parquet specification. [Online]. Available: parquet.apache.org [69] Delta Lake contributors, “Delta Lake deletion vectors,” Delta Lake specification and documentation. [Online]. Available: docs.delta.io [70] Delta Lake contributors, “Delta Transaction Log Protocol,” Delta Lake specification and documentation. [Online]. Available: github.com [71] Delta Lake contributors, “Universal Format (UniForm),” Delta Lake specification and documentation. [Online]. Available: docs.delta.io [72] Substrait contributors, “About Substrait,” Substrait specification and project resources. [Online]. Available: substrait.io dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 180 References (12 of 16) Links Papers and documentation: debruyn.dev/dmc26 [73] Substrait contributors, “Substrait Apache License 2.0,” Substrait specification and project resources. [Online]. Available: github.com [74] Substrait contributors, “Substrait binary serialization,” Substrait specification and project resources. [Online]. Available: substrait.io [75] Substrait contributors, “Substrait common fields: emit,” Substrait specification and project resources. [Online]. Available: substrait.io [76] Substrait contributors, “Substrait extensions and function declarations,” Substrait specification and project resources. [Online]. Available: substrait.io [77] Substrait contributors, “Substrait field references,” Substrait specification and project resources. [Online]. Available: substrait.io [78] Substrait contributors, “Substrait logical relations,” Substrait specification and project resources. [Online]. Available: substrait.io [79] Substrait contributors, “Substrait project governance and contributor affiliations,” Substrait specification and project resources. [Online]. Available: substrait.io [80] Substrait contributors, “Substrait relational plan format,” Substrait specification and project resources. [Online]. Available: substrait.io dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 181 References (13 of 16) Links Papers and documentation: debruyn.dev/dmc26 [81] Databricks, “Dynamic file pruning,” Databricks documentation and engineering blog. [Online]. Available: docs.databricks.com [82] Databricks, “Faster SQL Queries on Delta Lake with Dynamic File Pruning,” Databricks documentation and engineering blog. [Online]. Available: databricks.com [83] Apache Software Foundation, “PySpark DataFrame.coalesce,” Apache Spark documentation. [Online]. Available: spark.apache.org [84] Apache Software Foundation, “PySpark DataFrame.repartition,” Apache Spark documentation. [Online]. Available: spark.apache.org [85] Microsoft, “Automatic log checkpointing for Fabric Warehouse,” Microsoft Fabric announcements. [Online]. Available: community.fabric.microsoft.com [86] C. Cunningham, M. Ketema, and F. Popovic, “Data Warehousing for the AI Era: Deep Dive into High-Performance Analytics and GPU-acceleration, W29,” FabCon Europe, Sept. 30, 2026; supplied slides. [Online]. Available: espc.tech [87] J. Đ okovi ć , I. Zagorac, and F. Santos, “Enterprise Data Warehousing on Fabric: Migrate, Govern, and Scale, TH13,” FabCon Europe, Oct. 1, 2026; supplied slides. [Online]. Available: espc.tech [88] Microsoft, “Fabric September 2026 Feature Summary,” Microsoft Fabric announcements. [Online]. Available: community.fabric.microsoft.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 182 References (14 of 16) Links Papers and documentation: debruyn.dev/dmc26 [89] Microsoft, “File-Level write-write conflict detection (Generally Available),” Microsoft Fabric roadmap, planned Q4 2026. [Online]. Available: roadmap.fabric.microsoft.com [90] Microsoft, “Introducing Microsoft Fabric: Data analytics for the era of AI,” Microsoft Fabric announcements. [Online]. Available: azure.microsoft.com [91] M. Ketema, “Powering modern data analytics in Fabric Data Warehouse, OD813,” Microsoft Build, June 2–3, 2026; supplied transcript and screenshots. [Online]. Available: build.microsoft.com [92] Microsoft, “Prepare your data for AI innovation with Microsoft Fabric, now generally available,” Microsoft Fabric announcements. [Online]. Available: microsoft.com [93] T. Tereshko and J. Podgoetsky, “T16: The Evolution of Fabric Data Warehouse Architecture, Performance, and the Road Ahead,” FabCon Europe, Sept. 29, 2026; supplied slides. [Online]. Available: espc.tech [94] Transaction Processing Performance Council, “TPC decision-support benchmarks,” TPC benchmark resources. [Online]. Available: tpc.org [95] Apache Software Foundation, “Apache Parquet,” Apache Parquet specification. [Online]. Available: parquet.apache.org [96] Apache Software Foundation, “Apache Parquet,” Apache Parquet specification. [Online]. Available: github.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 183 References (15 of 16) Links Papers and documentation: debruyn.dev/dmc26 [97] Microsoft, “Azure Synapse Analytics icon,” Azure Architecture Center, artwork. [Online]. Available: learn.microsoft.com [98] Lucide contributors, “Component pictograms,” Lucide Icons. [Online]. Available: lucide.dev [99] Microsoft, “Custom SQL pools diagram,” Microsoft Learn. [Online]. Available: learn.microsoft.com [100 ] Delta Lake contributors, “Delta Lake,” Delta Lake specification and documentation. [Online]. Available: delta.io [101] Microsoft, “Distributed query processing diagram,” Microsoft Learn. [Online]. Available: learn.microsoft.com [102] Microsoft, “Microsoft Fabric icons: Warehouse, Lakehouse and OneLake,” Microsoft Learn, artwork. [Online]. Available: learn.microsoft.com [103] Google, “Google,” official artwork. [Online]. Available: google.com [104] IBM, “IBM,” IBM Design Language, artwork. [Online]. Available: ibm.com dataMinds Connect Sam Debruyn
Design review · Documentation and other sources 184 References (16 of 16) Links Papers and documentation: debruyn.dev/dmc26 [105] Intel, “Intel,” official artwork. [Online]. Available: intel.com [106] NVIDIA, “NVIDIA,” product resources and artwork. [Online]. Available: nvidianews.nvidia.com [107] NVIDIA, “NVLink interconnect illustration,” product resources and artwork. [Online]. Available: nvidia.com [108] Substrait contributors, “Substrait,” Substrait specification and project resources. [Online]. Available: substrait.io dataMinds Connect Sam Debruyn
Design review · Discussion 185 Thank you Questions Slides and papers debruyn.dev/dmc26 Session feedback Scan to rate the session Sam Debruyn · sam@debruyn.dev dataMinds Connect Sam Debruyn
dataMinds Connect Sam Debruyn
Stay in the loop
See you at the next one?
I announce upcoming talks on LinkedIn — that's also where most of the conference chatter happens. Slides and recordings land right here on the speaking page. If you'd rather follow along quietly, the RSS feed has every new post and talk.