Sie sind auf Seite 1von 9

Presented By:

Abhishek Das (V1062)


Neha Topno (V1113)
Abhinav Shukla (V1061)
Praveen Singh
Bijay
 A snowflake schema is a logical arrangement of tables
in a multidimensional database used in data warehousing
 The snowflake schema is represented by centralized fact
tables
 However, dimensions are normalized into multiple
related tables
 The star schema is the simplest data warehouse
schema
 It is a denormalised model. No need to use
complicated joins
 A star schema can have any number of dimension
tables
Fact Table Dimension Table

•A dimension table is a table


•A fact table is a table in a in a star or snowflake schema
star or snowflake schema that stores attributes that
that stores facts that describe aspects of a
measure the business, such dimension
as sales, cost of goods, or •For example, a time table
profit stores the various aspects of
•Fact tables also contain time such as year, quarter,
foreign keys to the month, and day. A foreign
dimension tables. These key of a fact table references
foreign keys relate each row the primary key in a
of data in the fact table to its dimension table in a many-to-
corresponding dimensions one relationship
and levels
Advantages Disadvantages

·  In some cases may ·  Increases the number


improve performance of tables an end-user
because smaller tables must work with,
are joined,  
  ·   Makes the queries
·  Is easier to maintain, much more difficult to
  create because more
·  Increases flexibility tables need to be joined
Advantages Disadvantages

•Reduced Joins, Faster •Bigger table sizes


Query Operation because of large number
of dimension tables
•Writing queries
becomes simpler as there •Denormalized form of a
are no complex joins in snowflake schema
the ERD
•Too many rows in Fact
•Work of end- user Table
becomes easy because of
less complexity
Snowflake Schema
· Fact Table and its contents:  metric attributes
and the foreign keys necessary to join to the
dimension tables,
 
· Dimension Tables and their
contents:  reference attributes and metric
attributes.  The dimension tables are
normalized,
 
· The lines that link the Dimension Tables to
the Fact Table,
 
· The lines that link the Dimension Tables to
more Dimension Tables.
Starflake Schema
· Fact Table and its contents:  metric
attributes and the foreign keys necessary
to join to the dimension tables,
 
· Dimension Tables and their
contents:  reference attributes and metric
attributes.  The dimension tables are
normalized,
 
· The lines that link the Dimension
Tables to the Fact Table,
 
Thank

Das könnte Ihnen auch gefallen