Редагувати

Поділитися через


Microsoft Fabric decision guide: choose a data store

Use this reference guide and the example scenarios to help you choose a data store for your Microsoft Fabric workloads.

Data store properties

This table compares data stores such as warehouse, lakehouse, Power BI datamart, and Eventhouse based on data volume, type, developer persona, skill set, operations. and other capabilities.

Warehouse Lakehouse Power BI Datamart Eventhouse
Data volume Unlimited Unlimited Up to 100 GB Unlimited
Type of data Structured Unstructured,
semi-structured,
structured
Structured Unstructured,
semi-structured,
structured
Primary developer persona Data warehouse developer, SQL engineer Data engineer, data scientist Citizen developer Citizen data scientist, data engineer, data scientist, SQL engineer
Primary dev skill SQL Spark(Scala, PySpark, Spark SQL, R) No code, SQL No code, KQL, SQL
Data organized by Databases, schemas, and tables Folders and files, databases, and tables Database, tables, queries Databases, schemas, and tables
Read operations T-SQL, Spark* Spark, T-SQL Spark, T-SQL, Power BI KQL, T-SQL, Spark, Power BI
Write operations T-SQL Spark(Scala, PySpark, Spark SQL, R) Dataflows, T-SQL KQL, Spark, connector ecosystem
Multi-table transactions Yes No No Yes, for multi-table ingestion
Primary development interface SQL scripts Spark notebooks,Spark job definitions Power BI KQL Queryset, KQL Database
Security Object level, RLS, CLS, DDL/DML, dynamic data masking RLS, CLS**, table level (T-SQL), none for Spark Built-in RLS editor RLS
Access data via shortcuts Yes Yes No Yes
Can be a source for shortcuts Yes (tables) Yes (files and tables) No Yes
Query across items Yes Yes No Yes
Advanced analytics Interface for large-scale data processing, built-in data parallelism and fault tolerance Interface for large-scale data processing, built-in data parallelism and fault tolerance Interface for data processing with automated performance tuning Time Series native elements, full geo-spatial storing and query capabilities
Advanced formatting support Tables defined using PARQUET, CSV, AVRO, JSON, and any Apache Hive compatible file format Tables defined using PARQUET, CSV, AVRO, JSON, and any Apache Hive compatible file format Tables defined using PARQUET, CSV, AVRO, JSON, and any Apache Hive compatible file format Full indexing for free text and semi-structured data like JSON
Ingestion latency Available instantly for querying Available instantly for querying Available instantly for querying Queued ingestion, streaming ingestion has a couple of seconds latency

* Spark supports reading from tables using shortcuts, doesn't yet support accessing views, stored procedures, functions etc.

** Column-level security available on the Lakehouse through a SQL analytics endpoint, using T-SQL.

Scenarios

Review these scenarios for help with choosing a data store in Fabric.

Scenario 1

Susan, a professional developer, is new to Microsoft Fabric. They're ready to get started cleaning, modeling, and analyzing data but need to decide to build a data warehouse or a lakehouse. After review of the details in the previous table, the primary decision points are the available skill set and the need for multi-table transactions.

Susan has spent many years building data warehouses on relational database engines, and is familiar with SQL syntax and functionality. Thinking about the larger team, the primary consumers of this data are also skilled with SQL and SQL analytical tools. Susan decides to use a data warehouse, which allows the team to interact primarily with T-SQL, while also allowing any Spark users in the organization to access the data.

Susan creates a new lakehouse and access the data warehouse capabilities with the lakehouse SQL analytics endpoint. Using the Fabric portal, creates shortcuts to the external data tables and places them in the /Tables folder. Susan now can write T-SQL queries that reference shortcuts to query Delta Lake data in the lakehouse. The shortcuts automatically appear as tables in the SQL analytics endpoint and can be queried with T-SQL using three-part names.

Scenario 2

Rob, a data engineer, needs to store and model several terabytes of data in Fabric. The team has a mix of PySpark and T-SQL skills. Most of the team running T-SQL queries are consumers, and therefore don't need to write INSERT, UPDATE, or DELETE statements. The remaining developers are comfortable working in notebooks, and because the data is stored in Delta, they're able to interact with a similar SQL syntax.

Rob decides to use a lakehouse, which allows the data engineering team to use their diverse skills against the data, while allowing the team members who are highly skilled in T-SQL to consume the data.

Scenario 3

Ash, a citizen developer, is a Power BI developer. They're familiar with Excel, Power BI, and Office. They need to build a data product for a business unit. They know they don't quite have the skills to build a data warehouse or a lakehouse, and those seem like too much for their needs and data volumes. They review the details in the previous table and see that the primary decision points are their own skills and their need for a self service, no code capability, and data volume under 100 GB.

Ash works with business analysts familiar with Power BI and Microsoft Office, and knows that they already have a Premium capacity subscription. As they think about their larger team, they realize the primary consumers of this data will be analysts, familiar with no-code and SQL analytical tools. Ash decides to use a Power BI datamart, which allows the team to interact build the capability fast, using a no-code experience. Queries can be executed via Power BI and T-SQL, while also allowing any Spark users in the organization to access the data as well.

Scenario 4

Daisy is business analyst experienced with using Power BI to analyze supply chain bottlenecks for a large global retail chain. They need to build a scalable data solution that can handle billions of rows of data and can be used to build dashboards and reports that can be used to make business decisions. The data comes from plants, suppliers, shippers, and other sources in various structured, semi-structured, and unstructured formats.

Daisy decides to use an eventhouse because of its scalability, quick response times, advanced analytics capabilities including time series analysis, geospatial functions, and fast direct query mode in Power BI. Queries can be executed using Power BI and KQL to compare between current and previous periods, quickly identify emerging problems, or provide geo-spatial analytics of land and maritime routes.