维度用法设计教案分析.ppt

维度用法设计 AS的结果浏览 销售量可以根据日期进行计算 销售量不可以根据员工进行计算 维度用法含义 度量值可根据哪个维度进行计算,需建立维度与该度量值所在的事实表建立关系 维度用法 * 六种关系: 1、无关系;2、常规关系;3、事实关系; 4、引用关系;5、多对多关系;6、挖掘关系 星型结构 Employee_Dim EmployeeKey EmployeeID. EmployeeKey Time_Dim TimeKey TheDate TimeKey Product_Dim ProductKey ProductID ProduceName ProductBrand ProductCategory . ProductKey Customer_Dim CustomerKey CustomerID CustomerKey Shipper_Dim ShipperKey ShipperID ShipperKey Sales_Fact TimeKey EmployeeKey ProductKey CustomerKey ShipperKey Units Price Profit TimeKey CustomerKey ShipperKey ProductKey EmployeeKey 多个外键 度量值 维度键 Fact事实表 维度表 维度表 维度表 维度表 维度表 常规 事实表与维度表

文档评论(0)

1亿VIP精品文档

相关文档