Skip to main content

Dwdm 1exp 2 bit

 1.experiment


2 . Design multi-dimensional data models namely Star, Snowflake and Fact Constellation schemas forany one enterprise (ex. Banking, Insurance, Finance, Healthcare, manufacturing, Automobiles,sales etc).

What is Schema? 

  • Schema is a logical description of the entire database.

Star Schema: 

  • A star schema is the elementary form of a dimensional model, in which data are organized into facts and dimensions

  • This dimension table contains the set of attributes.

  • The following diagram shows the sales data of a company with respect to the four dimensions, namely time, item, branch, and location


  • There is a fact table at the center. It contains the keys to each of four dimensions

Snowflake Schema: 
Some dimension tables in the Snowflake schema are normalized. 
The normalization splits up the data into additional tables. 

Fact Constellation Schema: 
A Fact constellation means two or more fact tables sharing one or more dimensions. It is also called Galaxy schema. 


This schema defines two fact tables, sales, and shipping. Sales are treated along four dimensions, namely, time, item, branch, and location. 
It is also possible to share dimension tables between fact tables. For example, time, item, and location dimension tables are shared between the sales and shipping fact table. 

Comments

Popular posts from this blog

Data structures: Introduction to Trees

Tree: The data in a tree are not stored in a sequential manner i.e., they are not stored linearly. Instead, they are arranged on multiple levels or we can say it is a hierarchical structure. For this reason, the tree is considered to be a non-linear data structure. KeyConcepts : Nodes : Individual units within the tree, each storing data and potentially linking to other nodes. Edges : Connections between nodes, representing relationships (parent-child, sibling, etc.). Root : The topmost node in the tree, from which all other nodes originate. Parent : A node that has one or more child nodes. Child : A node connected to a parent node. Leaf : A node with no children. Subtree : A portion of a tree that is itself a tree. Representation of tree: Binary search tree :

Hashing and hash functions

Types of hash functions

Data structures dequeues