Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为金融市场创建 KPI。我可以在 SSAS 中创建 KPI,我可以在 ETL 过程中计算 KPI。哪种方式性能更好?
性能方面,在 ETL 级别进行大部分处理总是好的,这样在浏览多维数据集时涉及较少的处理,并且用户可以更快地获得结果,另一方面,在事实表中具有列会增加数据库大小和多维数据集处理时间. 这完全取决于您的业务案例,请参阅链接以获取更多见解。
https://social.msdn.microsoft.com/forums/sqlserver/en-US/6a3d2a3f-8a32-4ce5-8828-2998ccea6ab1/best-practice-for-calculations