0% found this document useful (0 votes)
24 views27 pages

Synchronous State Machine Design: CO - (Eve) 2 Year

this slide contains the information about data cube, OLAP operation on cube like roll-up, roll-down, slide and dice, pivot operation. it also contains the information about schema of multi dimension data schema. like star flek and etc.

Uploaded by

AdarshPatel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views27 pages

Synchronous State Machine Design: CO - (Eve) 2 Year

this slide contains the information about data cube, OLAP operation on cube like roll-up, roll-down, slide and dice, pivot operation. it also contains the information about schema of multi dimension data schema. like star flek and etc.

Uploaded by

AdarshPatel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 27

Sarvajanik College of Engineering &

Technology

Synchronous State
Machine Design

Subject :- Digital Electronics


(2131004)

CO-(eve) 2nd year

:: Presented by ::
Adarsh Patel (36)
:: Guided faculty :: Praful Rathod (45)
Prof. Bintu Kadhiwala Meet Shah
(50)
Prof. Rakesh Patel Yash Shah
(52)

Multidimensional data model &


SubjectOLAP
: Dataoperations
Mining And Business
Intelligence

CO(eve) 4th year

:: Guided faculty ::
Prof. Bintu Kadhiwala
Prof. Rakesh Patel

:: Presented by ::
Adarsh Patel (36)
Praful Rathod (45)
Meet Shah
(50)
Yash Shah
(52)

Outlin
e

Data Cube : A Multidimensional Data


Model
Schemas for Multidimensional Data
Models
OLAP Operation

Department of Computer Engineering,CO-4rd

Multidimensional Data Model

Department of Computer Engineering,CO-4rd

Introduction to MDDM
MDDM allows data to be modeled and viewe
in multiple dimensions. It is defned
dimension and facts.
by
s
In general terms, dimensions are

which an

the

Dimensions:-Texture Attributes to
perspectives or entities with respect
to
analyses
data.
organization wants to keep records.
4

Department of Computer Engineering,CO-4rd

Introduction to MDDM
A data warehouse is based on a MDDM which
views data in the form of a data cube
A data cube, such as sales, allows data to be
modeled
viewed in multiple dimensions
Dimension
tables, such as item
and
(item_name,

brand, type) or time(day, week, month,


Fact table contains measures
as
quarter,
year)and keys to each of the
dollars_sold)
(such

Introduction to MDDM
all
time

time,item

0-D(apex) cuboid

item

time,location

location

item,location

time,supplier
time,item,location

supplier

location,supplier

2-D cuboids
item,supplier

time,location,supplier

time,item,supplier

1-D cuboids

3-D cuboids

item,location,supplier

4-D(base) cuboid
time, item, location, supplier
6

Department of Computer Engineering,CO-4rd

Schem fo MDDM
as

Department of Computer Engineering,CO-4rd

Schemas for MDDMs


Star schema: A fact table in the middle

to a set

connected

of dimension tables
Snowflake

A refnement of star schema

some dimensional hierarchy is normalized into a set


schema:
where
of
smaller dimension tables, forming a shape similar to

snowflake
Fact constellations: Multiple fact tables share
dimension
tables, viewed as a collection of stars, therefore called
8

Department of Computer Engineering,CO-4rd

Example of Star Schema


time

item

time_key day
day_of_the_week
month
quarter
year

Sales Fact Table


time_key
item_key
branch_key

branch

location_key

branch_key
branch_name
branch_type

units_sold
dollars_sold
avg_sales

item_key
item_name
brand
type
supplier_type

location
location_key
street
city
province_or_street
country

Measures
Department of Computer Engineering,CO-4rd

Example of Snowflake Schema


time
time_key day
day_of_the_week
month
quarter
year

item
Sales Fact Table
time_key
item_key
branch_key

branch
branch_key
branch_name
branch_type

location_key
units_sold

item_key
item_name
brand
type
supplier_key

supplier
supplier_key

supplier_type

location
location_key
street
city_key

dollars_sold
avg_sales

Measures
Department of Computer Engineering,CO-4rd

city
city_key
city
province_or_street
country
10

time

Example of Fact Constellation

time_key day
day_of_the_week
month
quarter
year

item

Sales Fact Table

item_key
item_name

time_key

brand
type

item_key
branch_key
branch

location_key

branch_key
branch_name
branch_type

units_sold
dollars_sold
avg_sales

supplier_type

location
location_key
street
city
province_or_street
country

Measures

Shipping Fact Tabl

time_key
item_key
shipper_key

from_location
to_location
dollars_cost
units_shipped
shipper
shipper_key
shipper_name
location_key
11
shipper_type

Department of Computer Engineering,CO-4rd

Introducti toOLA
on

Department of Computer Engineering,CO-4rd

12

Introduction to OLAP

OLAP (online analytical processing) is

computer
selectivel extract and view
from
points
of view.
processing
that enables a user to easily and
data
diferent
y
to get an
It allows managers, and
fast,
analysts
and
Interactive access to information
consistent
insight of the information
from
multiple
through database systems at one time.
OLAP data is stored in Multidimensional
Department of Computer Engineering,CO-4rd

13

Example of OLAP

Department of Computer Engineering,CO-4rd

OLA operatio
P

ns

Department of Computer Engineering,CO-4rd

15

OLAP operations

OLAP operations provides users with


the

flexibility
A
numberto
of view
OLAPdata
from
diferent
data
cube
operations
diferent
allowin
to
materialize
perspectives.
exist
and
of the data at
views,
g
these

analysis
Typical
OLAP Operations
interactive
Roll up (drill-up)

Roll down (Drill down)


querying

Slice and dice

hand

16

Roll up (drill-up) operation

The roll-up operation performs

on a

aggregation

data cube, either by climbing up a


concept
relationships for
or more dimensions. To do
hierarchy for a dimension
or by or formul
relationshi
one
dimension
p
a
this, a
reduction
computational
A roll-up involves
computing all of the
Department of Computer Engineering,CO-4rd
17

Roll up (drill-up) operation

Department of Computer Engineering,CO-3rd Eve

18

Roll down(drill-down) operation

It navigates from less detailed data to more

detailed data.
Drill-down can be realized by either stepping

down a concept hierarchy for a dimension or


introducing
to
lower level
additional
summary
dimensions.
or
data, or
detailed
Reverse of Roll-up from higher level
summary new dimensions
introducing
19

Department of Computer Engineering,CO-4rd

Roll down(drill-down)

operation

20

Department of Computer Engineering,CO-4rd

Slice and dice operation

slice operation selects one particular


dimension

from a given cube and provides a new

Dice operation selects two or more


subcube.
from a given
and provide a new subdimensions
cube. cube
s

Project and Select

21

Department of Computer Engineering,CO-4rd

Slice operation

22

Department of Computer Engineering,CO-4rd

Dice operation

23

Department of Computer Engineering,CO-4rd

Pivot operation

The pivot operation is also known as rotation.


It

rotates
the
data axes
to
Pivot: To
change
the in view in order
orientatio
of
a repor or page display
provide
dimensional
n
t
.
an alternative presentation of data.

24

Department of Computer Engineering,CO-4rd

Pivot operation

25

Department of Computer Engineering,CO-4rd

EN
D

Department of Computer Engineering,CO-3rd

26

You might also like