Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
DiKi-I
Post Partisan
Post Partisan

Materialized view in fabric

Hi, 
I want some suggestion related to materilized view in fabric? Can someone provide some guidance and benefit of using it and any limitation. Will it be effective to use it for silver to gold medallion transaformation? 

2 ACCEPTED SOLUTIONS
v-tsaipranay
Community Support
Community Support

Hi @DiKi-I ,

Thank you for reaching out to the Microsoft fabric community forum regarding materialized views in Fabric and Also thank you @tayloramy for the valuable insights already contributed.

 

In addition to his insight:

Materialized views are currently available in Fabric Lakehouses (Materialized Lake Views) and KQL Databases. They enhance performance by precomputing and storing query results, which is especially useful for Silver-to-Gold transformations in the medallion architecture. However, it’s important to consider factors like increased storage costs, refresh and maintenance requirements, and, in some cases, limited lineage visibility.

Reference : Overview of Materialized Lake Views - Microsoft Fabric | Microsoft Learn

 

Mirrored databases do not natively support materialized views. For mirrored sources, you can create standard SQL views in the SQL analytics endpoint, but materialized views are not available.

 

Workaround using shortcuts: You can set up a shortcut from your mirrored database to a Lakehouse. After the mirrored tables are available in the Lakehouse, Spark SQL can be used to create Materialized Lake Views on those shortcut tables. This method is effective, but keep in mind that lineage for shortcut-based tables does not currently show up in the MLV lineage UI.

Reference: Unify data sources with OneLake shortcuts - Microsoft Fabric | Microsoft Learn

 

The suggested approach is to start by creating a Lakehouse in Fabric, then add OneLake shortcuts that link to the necessary mirrored database tables. Next, define your Materialized Lake Views in the Lakehouse using these shortcut tables. This setup lets you integrate mirrored data into the Lakehouse, where MLVs are available, helping to improve query performance and streamline Silver-to-Gold transformations, while keeping in mind current limitations like lineage visibility.

Hope this helps. Please feel free to rech out for any further questions.


Thank you .

View solution in original post

v-tsaipranay
Community Support
Community Support

Hi @DiKi-I ,

 

We haven’t received an update from you in some time. Could you please let us know if the issue has been resolved?
If you still require support, please let us know, we are happy to assist you.

 

 

Thank you.

 

View solution in original post

9 REPLIES 9
v-tsaipranay
Community Support
Community Support

Hi @DiKi-I ,

 

We haven’t received an update from you in some time. Could you please let us know if the issue has been resolved?
If you still require support, please let us know, we are happy to assist you.

 

 

Thank you.

 

v-tsaipranay
Community Support
Community Support

Hi @DiKi-I ,

 

We haven’t received an update from you in some time. Could you please let us know if the issue has been resolved?
If you still require support, please let us know, we are happy to assist you.


Thank you.

v-tsaipranay
Community Support
Community Support

Hi @DiKi-I ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. 

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @DiKi-I ,

Thank you for reaching out to the Microsoft fabric community forum regarding materialized views in Fabric and Also thank you @tayloramy for the valuable insights already contributed.

 

In addition to his insight:

Materialized views are currently available in Fabric Lakehouses (Materialized Lake Views) and KQL Databases. They enhance performance by precomputing and storing query results, which is especially useful for Silver-to-Gold transformations in the medallion architecture. However, it’s important to consider factors like increased storage costs, refresh and maintenance requirements, and, in some cases, limited lineage visibility.

Reference : Overview of Materialized Lake Views - Microsoft Fabric | Microsoft Learn

 

Mirrored databases do not natively support materialized views. For mirrored sources, you can create standard SQL views in the SQL analytics endpoint, but materialized views are not available.

 

Workaround using shortcuts: You can set up a shortcut from your mirrored database to a Lakehouse. After the mirrored tables are available in the Lakehouse, Spark SQL can be used to create Materialized Lake Views on those shortcut tables. This method is effective, but keep in mind that lineage for shortcut-based tables does not currently show up in the MLV lineage UI.

Reference: Unify data sources with OneLake shortcuts - Microsoft Fabric | Microsoft Learn

 

The suggested approach is to start by creating a Lakehouse in Fabric, then add OneLake shortcuts that link to the necessary mirrored database tables. Next, define your Materialized Lake Views in the Lakehouse using these shortcut tables. This setup lets you integrate mirrored data into the Lakehouse, where MLVs are available, helping to improve query performance and streamline Silver-to-Gold transformations, while keeping in mind current limitations like lineage visibility.

Hope this helps. Please feel free to rech out for any further questions.


Thank you .

tayloramy
Community Champion
Community Champion

Hi @DiKi-I

 

I think this might be possible, according to the docs. They don't explicitly say it is possible, but they also don't state it is not possible.

What the docs do say:

Suggested pattern to try:

  1. Create a Lakehouse
  2. Add a shortcut to your mirrored tables
  3. Define an MLV over the shortcut tables
CREATE SCHEMA IF NOT EXISTS silver;

CREATE MATERIALIZED LAKE VIEW IF NOT EXISTS silver.customer_orders_mv AS
SELECT  CustomerID, COUNT(*) AS order_count
FROM    bronze.orders
GROUP BY CustomerID;

Can you give it a try and return here with your results so the community knows? If it works in your workspace, we can add a short 'how we set it up' snippet for others to follow.

 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.

 

DiKi-I
Post Partisan
Post Partisan

is it possible to create mlv on shortcuts? If I create a shortcut of mirror bb in lakehouse, can I create MLV?

tayloramy
Community Champion
Community Champion

Hi @DiKi-I

I don't think that is possible. I see another forum post here that seems to say it is not: 
Solved: Re: Create Materialized Lake View out of Mirrored ... - Microsoft Fabric Community

 

The only documentation I can find is for creating materialized views in lakehouses and KQL databases. 

 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.

DiKi-I
Post Partisan
Post Partisan

can it be created for mirror databases in fabric?

tayloramy
Community Champion
Community Champion

Hi @DiKi-I

When you say in Fabric, are you talking about lakehouses, warehouses, KQL databases, or SQL Databases? 

For Lakehouses, you can use materialized lake views: 
Get Started with Materialized Lake Views in a Lakehouse - Microsoft Fabric | Microsoft Learn

For KQL databases, you can also create materialized views: 
Create and edit materialized views - Microsoft Fabric | Microsoft Learn

 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.