简体   繁体   English

Power BI 与 SQL 服务器的幕后关系

[英]Power BI relationships behind the scenes with SQL Server

I am using import mode with SQL Server on-premises and bringing in all required tables and create relationships.我在本地使用 SQL 服务器的导入模式,并引入所有必需的表并创建关系。 Does the indexing the columns involved in building relationship in PBI have any benefit in terms of report or data refresh performance?在 PBI 中建立关系所涉及的列的索引是否对报表或数据刷新性能有任何好处? What happens behind the scenes in PBI? PBI 的幕后发生了什么?

In the import mode, data is read from the background SQL Server database and loaded into cache.import模式下,从后台 SQL 服务器数据库中读取数据并加载到缓存中。

So, the indexes in datasource will give very good read performance.因此,数据源中的索引将提供非常好的读取性能。 So, data refresh times will be faster.因此,数据刷新时间会更快。 Read more on indexing for performance in PowerBI 阅读更多关于 PowerBI 中的性能索引

But, the indexes will not be used, when you are working with report in the Power BI, as data is brought from cache(dataset).但是,当您在 Power BI 中处理报表时,不会使用索引,因为数据来自缓存(数据集)。 Dataset is holding the refreshed data and is being used in the reports.数据集保存刷新的数据并在报告中使用。

Refer to below data refresh reference for PowerBI PowerBI 参考以下数据刷新参考

Power BI 的数据流 . .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM