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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
pmscorca
Post Patron
Post Patron

Unsupported views for a KQL database

Hi,

reading the documentation it seems that a KQL view is not supported for a KQL database, while a materialized view is supported.

Which is the reason for this unsupported feature? Thanks

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @pmscorca ,

 

This design choice is primarily due to the different purposes and performance characteristics of these two types of views. KQL Views are essentially virtual tables that do not store data physically. They are defined by a query and provide a way to simplify complex queries by encapsulating them. However, because they do not store data, every time you query a KQL view, the underlying query must be executed, which can be resource-intensive and slow, especially with large datasets or complex queries. 

Materialized Views, on the other hand, store the result of the query physically. This means that querying a materialized view is much faster because the data is precomputed and stored. This is particularly useful for real-time analytics and scenarios where performance is critical. By supporting materialized views, Microsoft Fabric ensures that users can achieve high performance and efficiency in their data operations.

 

You can refer to the following documents that may be helpful to you:

Create a KQL database - Microsoft Fabric | Microsoft Learn

Query data in a KQL queryset - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @pmscorca ,

 

This design choice is primarily due to the different purposes and performance characteristics of these two types of views. KQL Views are essentially virtual tables that do not store data physically. They are defined by a query and provide a way to simplify complex queries by encapsulating them. However, because they do not store data, every time you query a KQL view, the underlying query must be executed, which can be resource-intensive and slow, especially with large datasets or complex queries. 

Materialized Views, on the other hand, store the result of the query physically. This means that querying a materialized view is much faster because the data is precomputed and stored. This is particularly useful for real-time analytics and scenarios where performance is critical. By supporting materialized views, Microsoft Fabric ensures that users can achieve high performance and efficiency in their data operations.

 

You can refer to the following documents that may be helpful to you:

Create a KQL database - Microsoft Fabric | Microsoft Learn

Query data in a KQL queryset - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

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

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Top Solution Authors
Top Kudoed Authors