Upcoming SlideShare
×

Multidimensional analysis

2,028 views

Published on

Multidimensional Analysis Introduction
Basic Concepts like Cube/OLAP/MDX

Published in: Technology
2 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
2,028
On SlideShare
0
From Embeds
0
Number of Embeds
101
Actions
Shares
0
0
0
Likes
2
Embeds 0
No embeds

No notes for slide
• 不是很严谨维度是一种描述信息，往往业务数据有很多维度对其的分析通常有钻取、切片、切块等
• Dimension和FactDimension是Fact的描述信息，是它的上下文Dimension中包含了Hierarchy，即层次，Hierarchy包含了Level，即层，Level中包含了Member，Member的描述属性就是Attribute
• 微软推出事实标准
• Multidimensional analysis

1. 1. Multidimensional Analysis<br />Author: Sid Xing<br />
2. 2. Content<br />Multidimensional<br />Cube<br />OLAP<br />MDX <br />Solutions<br />
3. 3. What is multidimensional?<br />Sales = \$2.5<br />US Sales = \$2.5<br />US 2010 Sales = \$2.5<br />IBM US 2010 Sales = \$2.5<br />….<br />1 dimension<br />2 dimensions<br />>= 3 dimensions<br />Dot<br />Line<br />Flat<br />Cube<br />
4. 4. What’s a “Cube”?<br />Cell<br />Dimension<br />Members<br />Jan<br />...<br />Start<br />End<br />Q1<br />Q2<br />...<br />April 1<br />June 30<br />Feb<br />2005<br />2006<br />...<br />Attributes<br />Hierarchy/Levels<br />Products<br />Order Methods<br />Camping Equipment<br />Golf Equipment<br />Fax<br />Outdoor Protection<br />Telephone<br />Mountaineering Equipment<br />Mail<br />Personal Accessories<br />E-Mail<br />Web<br />Time<br />2005<br />Q1<br />Q2<br />Q3<br />Q4<br />
5. 5. Cube Intro<br />Cube:<br /><ul><li>Dimension
6. 6. Hierarchy/Level
7. 7. Measure
8. 8. ……</li></ul>Mapping<br />Tables:<br /><ul><li>Fact table
9. 9. Dimension Table
10. 10. ……</li></li></ul><li>OLAP<br />OLAP = Online Analysis Processing<br />ROLAP = Relational OLAP<br />MOLAP = Multidimensional OLAP<br />HOLAP = Hybrid OLAP<br />
11. 11. ROLAP vs. MOLAP<br />
12. 12. MDX<br />MDX = Multidimensional Expression<br />Query language for OLAP database, like SQL for relational database.<br />Eg. <br />SELECT { [Measures].[Store Sales] } ON COLUMNS,<br /> { [Date].[2002], [Date].[2003] } ON ROWS<br />FROM Sales<br />WHERE ( [Store].[USA].[CA] )<br />
13. 13. Popular Solutions<br />IBM CognosPowerPlay / TM1<br />Oracle Hyperion Essbase<br />Microsoft SQL Server Analysis Service<br />An Introduction to OLAP in SQL Server 2005<br />
14. 14. Reference<br />OLAP/MOLAP/ROLAP/HOLAP<br />Wikipedia: Multidimensional Analysis<br />Wikipedia: MDX<br />OLAP, Cubes and Multidimensional Analysis<br />
15. 15. Thanks<br />