🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Microsoft Fabric: OneLake, Lakehouse vs Warehouse

Azure Data EngineeringMicrosoft Fabric⭐ Premium

Microsoft Fabric is a SaaS analytics platform rather than a collection of individually managed services. Storage, compute, governance, and Power BI sit behind one boundary, which removes a large amount of integration work and also removes some of the control you may be used to. Understanding where the seams used to be is the fastest way to reason about what Fabric does well.

You will come away able to:

  • Explain what OneLake is and how it organizes every workload.
  • Choose between lakehouse and warehouse with a defensible rule.
  • Link external storage with shortcuts instead of copying it.
  • Judge whether Fabric capacity and pricing fit your workload.

Prerequisites

  • !Data lake and data warehouse concepts
  • !Basic SQL or PySpark
  • !Familiarity with Azure storage accounts

One idea: one lake for everything

Fabric replaces the pattern of separate storage per service with a single logical data lake called OneLake. Every item in a workspace, whether it is a lakehouse, a warehouse, a notebook, or a Power BI semantic model, stores its data in OneLake under a path you can address directly.

The practical consequence is that sharing no longer requires export, copy, or a sync job. Two teams can reference the same files and each keeps its own compute and security boundary. The other consequence is that naming matters more: because paths are global within the tenant, an inconsistent convention becomes a permanent mess that nobody wants to reorganize.

OneLake is built on ADLS Gen2 semantics, so existing tooling, shortcuts to other Azure storage, and compatibility modes you already know still apply. That matters for migration: you can point existing processes at OneLake paths without rewriting them, and you can bring data in gradually rather than as a single cutover.

Lakehouse or warehouse

The choice between the two is the question interviewers ask most, and the answer should be a rule rather than a preference.

AspectLakehouseWarehouse
Query surfacePySpark and SQL analytics endpointT-SQL endpoint
Table formatDelta tables you can read directlyManaged SQL tables
Best fitMixed engineering and BI, semi-structured dataAnalyst teams wanting familiar SQL
Writes from BI toolsAppend and overwrite via SparkFull read-write in SQL
External tool accessDirect file level accessThrough the SQL endpoint
Typical jobCleansing, joining, feature buildingReporting and stored procedures

A workable rule: start with a lakehouse when engineers own the transformation, and add a warehouse when a group of analysts needs read-write SQL semantics that a lakehouse analytics endpoint cannot provide. Many estates end up with both, which is fine as long as each dataset has one authoritative home rather than two competing copies.

Reading and writing OneLake directly

Paths follow a consistent shape, and once you know it you can address any item's files from a notebook without configuring a separate connector.

python
ONELAKE = "abfss://[email protected]"

raw = spark.read.format("delta").load(
    f"{ONELAKE}/sales.lakehouse/Tables/raw_sales"
)

curated = (
    raw.filter("amount > 0 and customer_id is not null")
    .withColumn("net_amount", col("amount") - col("discount"))
)

curated.write.format("delta").mode("overwrite").save(
    f"{ONELAKE}/sales.lakehouse/Tables/curated_sales"
)

spark.sql("SELECT count(*) AS rows_loaded FROM sales.curated_sales").show()

Note that notebooks can address the table both by path and by catalog name once it is registered. Path addressing is useful for bulk file operations and for cross-workspace references, while catalog naming keeps SQL readable for everyone else.

Shortcuts instead of copies

A shortcut is a pointer. It makes files that live in another ADLS account, in S3, or in Dataverse appear inside OneLake without moving a byte. That is the difference between a design where every team copies a reference dataset into their own area and one where a single copy is referenced everywhere.

Creating one is a small REST call, and the result is immediately visible to any compute reading that path.

python
import requests

url = ("https://api.fabric.microsoft.com/v1/workspaces/"
       "<workspace-id>/items/<lakehouse-id>/shortcuts")
headers = {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}

payload = {
    "path": "external/reference_rates",
    "target": {
        "oneLakePath": "reference.lakehouse/Tables/rates",
        "oneLakeUri": "https://stadls001.dfs.core.windows.net/reference",
    },
}

response = requests.post(url, headers=headers, json=payload)
print(response.status_code, response.json())

Use shortcuts when the source system already owns the data and your job is to read it. Copy only when you need to transform it, or when you need a stable snapshot that will not change underneath you mid-query.

Pipelines, Real-Time, and the rest of the stack

Fabric Data Factory is the pipeline experience inside the platform, and it will feel familiar if you have used Azure Data Factory: activities, datasets, triggers, and a monitoring view. The difference is that deployment and environment handling are lighter, because items live in workspaces and capacities rather than in separate resource deployments.

Alongside pipelines, Fabric offers a Real-Time Intelligence experience built for streaming sources and hot paths, plus notebooks for Spark workloads and Power BI for consumption. The productive way to combine them is to keep the lakehouse as the authoritative store, land streaming data there through the real-time path, and let notebooks or warehouse SQL serve the downstream consumers.

Workspaces, not resource groups, become your deployment boundary. Treat each workspace as an environment or a domain, assign capacity deliberately, and apply permissions at the workspace level so that item-level exceptions stay rare. Because items move between workspaces as artifacts rather than through a redeploy, promotion becomes an export and import that preserves definitions, which is simpler than ARM plumbing but also means you should still keep a copy of critical items in Git.

Capacity, cost, and when Fabric is the wrong choice

Fabric is billed through capacity units, and the cost curve is driven by concurrency and refresh patterns rather than by raw storage. That is a good fit for steady, shared workloads and a poor fit for a single enormous nightly batch that would rather pay for dedicated pool hours.

Do a sizing exercise before committing: estimate concurrent users, refresh frequency, notebook runtimes, and streaming ingestion, then map them to a capacity tier. Also confirm that the features you need, such as specific compliance certifications or particular networking options, are available in your region.

Fabric is the wrong choice when you require infrastructure-level control, when a team is deeply invested in existing Databricks jobs, or when a single workload dominates in a way that makes shared capacity inefficient. In those cases the individual Azure services remain the better answer, and a hybrid layout is entirely legitimate.

Common Mistakes

Creating two copies of the same dataset in different workspaces

Fix: Designate one authoritative table and let other teams consume it through shortcuts or references.

Choosing warehouse or lakehouse based on tool familiarity alone

Fix: Decide from who writes the data and with which language, then document the decision next to the item.

Sizing capacity from a guess instead of measurements

Fix: Model concurrency and refresh patterns first, run a pilot, and size from observed utilization.

Treating OneLake paths as free-form directory names

Fix: Agree a naming convention before the first workspace is created, because paths become permanent.

Best Practices

  • Keep one authoritative home per dataset and reference it elsewhere
  • Prefer shortcuts over copies whenever transformation is not required
  • Register curated tables in the catalog so SQL consumers can find them
  • Monitor capacity utilization and scale before users feel contention
  • Document which experience owns each stage of the pipeline

Questions interviewers ask about Fabric

đŸŽ¯Interview Tip

The comparison question is usually Fabric against Synapse or Databricks. Answer in terms of management model: Fabric is SaaS with unified storage and capacity-based billing, while Synapse and Databricks are PaaS services where you manage more of the moving parts and gain more control in return.

Interview Questions

Q1: What is OneLake?

A single, tenant-wide logical data lake that stores data for every Fabric item. It follows ADLS Gen2 semantics, gives each item a predictable path, and lets workloads share files without copying them between services.

Q2: When would you use a shortcut?

When data already lives elsewhere and you only need to read or transform it in place. Shortcuts avoid duplication and keep the source system authoritative, while a copy is appropriate for immutable snapshots or transformation-heavy workflows.

Q3: Lakehouse or warehouse for an analyst team?

Warehouse, if the team wants read-write T-SQL semantics and stored procedures. If engineers own transformation in Spark and analysts consume curated tables, a lakehouse with a SQL analytics endpoint is usually the simpler layout.

Q4: How does Fabric differ from Synapse Analytics?

Fabric is SaaS with unified storage, integrated governance, and capacity billing; Synapse is PaaS with separate serverless and dedicated pools that you provision and scale yourself. Fabric reduces operational overhead, Synapse offers finer control.

Key Takeaways

  • OneLake is the shared storage layer under every Fabric item
  • Choose lakehouse or warehouse from the writer's language, not tool preference
  • Shortcuts keep a single authoritative copy of shared data
  • Capacity pricing rewards steady shared workloads over single huge batches
  • Naming conventions must be agreed before workspaces multiply
  • Hybrid layouts with existing Databricks or Synapse remain valid
🔒

Premium Content

Microsoft Fabric: OneLake, Lakehouse vs Warehouse

You've previewed the first section. Unlock this full lesson and 900+ advanced tutorials with a Premium plan.

đŸŽ¯End-to-end Projects
đŸ’ŧInterview Prep
📜Certificates
🤝Community Access

Already a member? Log in

CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-12

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Advertisement