multidimensionaldatabases and datamarts, part 1

15
p. 1 1 Chapter 2 - Video # 7 Multidimensional Databases and Data Marts, Part 1 1 Chapter 2: Business Intelligence & Data Warehousing with SSAS Course: SQL Server 2008/R2 Analysis Services Course Id: 165 Presented by Scott Whigham

Upload: anilkumar-allu

Post on 23-Feb-2016

219 views

Category:

Documents


0 download

DESCRIPTION

ch02_07_mdb_01

TRANSCRIPT

Page 1: MultidimensionalDatabases and DataMarts, Part 1

p. 1

1

Chapter 2 - Video # 7

Multidimensional Databases and Data Marts, Part 1

1

Chapter 2: Business Intelligence & Data Warehousing with SSASCourse: SQL Server 2008/R2 Analysis ServicesCourse Id: 165Presented by Scott Whigham

Page 2: MultidimensionalDatabases and DataMarts, Part 1

p. 2

2

• Overview of Chapter

• Defining Business Intelligence

• BI and SQL Server

• OLTP vs. OLAP

• “Where should I put my data warehouse?”

• Multi-dimensional databases

• Data Mining

• What is Analysis Services?

• New Features in SSAS 2008

Business Intelligence

Page 3: MultidimensionalDatabases and DataMarts, Part 1

p. 3

3

• In our last video, we discussed the Multidimensional data warehouse– OLAP database not stored on an RDBMS but on a

multidimensional database management server

– Uses cubes, measures, and dimensions

• Discussed in the next video…

Where, oh where…

Page 4: MultidimensionalDatabases and DataMarts, Part 1

p. 4

4

• First we need to have an understanding of what multidimensional databases are– Abbreviated MDBs or MDDBs

– Stores pre-calculated aggregates

– Physical structure is just files in a file system like any other database

Multidimensional Databases

Page 5: MultidimensionalDatabases and DataMarts, Part 1

p. 5

5

• MDBs differ from relational DBs– First let’s consider how to think of relational data:

Multidimensional Databases

Page 6: MultidimensionalDatabases and DataMarts, Part 1

p. 6

6

• Relational tables are familiar– Rows and columns are easy to understand

– Primary keys guarantee uniqueness

– Indexes are used to allow multiple ways of sorting data for faster querying

Multidimensional Databases

Page 7: MultidimensionalDatabases and DataMarts, Part 1

p. 7

7

• You can consider a table to be a two-dimension array– Each combination of column/row number refers

to a unique position

– Column[4], Row[6]

Multidimensional Databases

Page 8: MultidimensionalDatabases and DataMarts, Part 1

p. 8

8

• Result sets can often be multi-dimensional:– “Show me units sold by year and by product”

Multidimensional Databases

Page 9: MultidimensionalDatabases and DataMarts, Part 1

p. 9

9

• Result sets can often be multi-dimensional:– “Show me units sold by year, by product, and by

country”

Multidimensional Databases

Page 10: MultidimensionalDatabases and DataMarts, Part 1

p. 10

10

• There is no functional limit to the number of dimensions requested– “Show me units sold by year, by quarter, by month,

by day, by product category, by product subcategory, by product model, by product size, by product color, by product, by product vendor, by city, by postal code, by state/province, and by country. Please ”

Multidimensional Databases

Page 11: MultidimensionalDatabases and DataMarts, Part 1

p. 11

11

• This need/desire to expand the analytics leads to massive reports– Pages and pages of fun!

Multidimensional Databases

Page 12: MultidimensionalDatabases and DataMarts, Part 1

p. 12

12

• One technique to make multidimensional data usable is to use drilldown– More on drilldown and hierarchies later!

Multidimensional Databases

Page 13: MultidimensionalDatabases and DataMarts, Part 1

p. 13

13

• “Time out, Scott – I don’t understand where all of this is going. I thought we were going to talk about multi-dimensional databases?”

Multidimensional Databases

Page 14: MultidimensionalDatabases and DataMarts, Part 1

p. 14

14

• We are! But first we need to understand the limitations of relational databases– This is the “Why do I need a multidimensional

database?” question!

Multidimensional Databases

Page 15: MultidimensionalDatabases and DataMarts, Part 1

p. 15

15

• But… we need to take a short break…

“I spend as much time finding the quotes for the videos as I do writing the material.”

Ttocs Mahgihw

Next up