资源描述:
《商业智能系列讲座(4) - olap 高级》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、商务智能商务智能BusinessIntelligenceBusinessIntelligence第四课:第四课:OLAPOLAP(高级)(高级)(部分讲义节选)(部分讲义节选)商务智能(BI)杨大川1OLAPOLAP神功第四重神功第四重探索更多的功能探索更多的功能––ActionsActions:对策:对策––NamedSetsNamedSets:命名集:命名集––DrilltoDetailDrilltoDetail:钻取:钻取––CalculatedCellsCalculatedCells:计算单元:计算单元HTMLHTML的的ActionAction商务
2、智能(BI)杨大川3NamedSetsNamedSets:命名集:命名集NamedSets=NamedSets=成员的集合成员的集合–Alistofthetop10products–Thisyear’smostat-riskcustomers集合保存在服务器上集合保存在服务器上集合可能是:集合可能是:–静态的(例如{A,B,C})–动态的(例如上个月销售额最好的10个产品)商务智能(BI)杨大川4演示演示商务智能(BI)杨大川5关于非数字类型的事实关于非数字类型的事实一般来说,事实表中的数据只有两类:一般来说,事实表中的数据只有两类:––外键外键––数字型事
3、实记录数字型事实记录非数字类型的事实记录如何处理?非数字类型的事实记录如何处理?商务智能(BI)杨大川6CalculatedCellsCalculatedCells:计算单元:计算单元CalculatedMembersCalculatedMembers–CreatenewmeasuresCalculatedCellsCalculatedCells–unlikecalculatedmembers,areusedtochangethevalueof“real”cubecells.Aswithcalculatedmembers,thecalculationispe
4、rformedatruntime--onlywhencellsarequeriedaretheformulasresolved.Fordatabasesrequiringcomplexcalculationlogic,calculatedcellsareaninvaluable,ifnotrequisite,partoftheequation.商务智能(BI)杨大川7OLAPOLAP神功第五重神功第五重CubeCube的存储的存储分区分区虚拟虚拟CubeCube维度的限制维度的限制独立计数的优化独立计数的优化大型与巨型维度大型与巨型维度海量数据的实际案例:海
5、量数据的实际案例:T3T3聚合:聚合:AggregationsAggregationsShowmeallsalesforallproductsforall...Highestlevelofaggregation(1,1,1,1,…)MostdetailedFactTableAggregations(m,m,m,…)商务智能(BI)杨大川9CubeCube的存储的存储MOLAPMOLAP::多维多维OLAPOLAPROLAPROLAP::关系型关系型OLAPOLAPHOLAPHOLAP::混合混合OLAPOLAP商务智能(BI)杨大川10存储模式的比较存储模式
6、的比较MOLAPMOLAPROLAPROLAPHOLAPHOLAP查询性能最好最差中等处理性能很好最差最好额外存储空间最大无(RDB加大)最小Cube数据MDRDBRDB聚合数据MDRDBMD商务智能(BI)杨大川11TT33ProjectGoalsProjectGoalsDemonstratethescalabilityofAnalysisServicesDemonstratethescalabilityofAnalysisServices–Buildcubefrom1TB+ofsourcedata–Describethetechniquesusedtoo
7、perateatthatscaleUsethecubetodemonstratehighspeedqueriesUsethecubetodemonstratehighspeedqueriesProofProof--ofof--conceptsystemconceptsystemAddressrealbusinessissues:Addressrealbusinessissues:schema,data,goalsschema,data,goals商务智能(BI)杨大川12TT33DataFlowDataFlowTapesfromdataproviderMOL
8、APCubeOLEDBforOLAPDataBDWa