Optimize performance
Unlock the complete study guide.
Bundled into the existing Implementing Data Engineering Solutions Using Microsoft Fabric premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Where Fabric performance work happens
- Lakehouse Delta table maintenance
- Controlling V-Order across Fabric engines
- Tuning pipeline Copy activities
- Warehouse query performance
- Warehouse transactions and contention
- Eventstream throughput
- Speeding up Eventhouse queries
- Spark compute tuning
- Sizing Delta files at write time
- Exam patterns and common traps
Lakehouse Delta maintenance: four operations, four jobs
| Question | OPTIMIZE | Z-Order | V-Order | VACUUM |
|---|---|---|---|---|
| What it changes | Merges many small Parquet files into fewer larger ones | Colocates related values of the chosen columns across files | Parquet layout, encoding, and compression within files | Deletes files the Delta log no longer references |
| Run it when | Substantial ingestion or updates left many small files | Queries filter selectively on specific columns | Files are read repeatedly and the write cost is repaid | Storage held by superseded files needs reclaiming |
| What it does not do | Does not delete unreferenced files | Does not speed scans that ignore its columns | Does not compact files or change writes already made | Does not merge small files into larger ones |
| Default or boundary to remember | Applies to Delta tables, not Hive Parquet, ORC, AVRO, or CSV | Complements V-Order and does not replace compaction | False on new Spark workspaces, on by default for warehouses | Seven-day retention threshold, and shorter is rejected by default |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Monitor Apache Spark applications in Microsoft Fabric
- Copy activity performance and scalability guide
- Query insights in Fabric Data Warehouse
- Monitor the status and performance of an eventstream
- Performance guidelines for Fabric Data Warehouse
- Optimize Delta Lake tables with V-Order in Fabric
- Lakehouse table maintenance in Microsoft Fabric
- Cross-workload table maintenance and optimization
- Delta Lake table compaction in Microsoft Fabric
- Disable V-Order on a Fabric warehouse
- Configure Spark resource profile configurations
- ForEach activity in Fabric Data Factory pipelines
- Statistics in Fabric Data Warehouse
- Transactions in Fabric Data Warehouse
- Configure settings for a Fabric eventstream
- Kusto cache policy (hot and cold cache)
- Query acceleration over OneLake shortcuts
- Kusto materialized views overview
- Apache Spark compute for Fabric data engineering
- Native Execution Engine for Fabric Spark
- Apache Spark runtimes in Microsoft Fabric
- Autotune Apache Spark configurations in Fabric
- High concurrency mode in Fabric Spark
- Spark job concurrency and queueing in Fabric
- OneLake availability for Eventhouse (one logical copy)