【发布时间】:2015-11-16 19:45:51
【问题描述】:
在我们的数据仓库中,我们有 6 个客户组。每个组有 5000 到 10000 名客户。
我们的星型架构:
dimCustomer fact
----------- ------------
CustomerKey CustomerKey
CustomerName Measure
CustomerGroupKey
CustomerGroup
我们经常只查询客户群。我可以添加一个额外的维度吗:
dimCustomer fact dimCustomerGroup
----------- ------------ --------------
CustomerKey CustomerKey CustomerGroupKey
CustomerName CustomerGroupKey CustomerGroup
CustomerGroupKey Measure
CustomerGroup
这在 Microsoft SQL Server 和 SSAS 多维数据集中是否可行?
【问题讨论】:
-
为什么?您有性能或可用性问题吗?将这一点添加到事实中违背了“简化星型模式”的方法。此外,现在人们对 CustomerGroup 有两种选择——一种在新维度中,一种在 dimCustomer 中。如果他们有不同的结果怎么办?
标签: sql-server ssas data-warehouse olap dimensional-modeling