GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 102 of 110    Print  
Explain the situations where snowflake is better than star schema

  
Total Answers and Comments: 4 Last Update: April 12, 2008     Asked by: sainath 
  
 Sponsored Links



 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 23, 2007 03:34:06   #1  
Ram        

RE: Explain the situations where snowflake is better t...
If the table space is not enough to maintain a STAR schema then we should go for Snowflake instead of STAR schema. i.e The table should be spilted in to multiple tables. Ex. if you want to maintain time data in one table like year, month, day in one table in star schema, you need to split this data into 3 tables like year, month, day in Snowflake schema.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
January 16, 2008 01:32:55   #2  
jaggu_mandya Member Since: January 2008   Contribution: 9    

RE: Explain the situations where snowflake is better than star schema
In Star Schema
When we try to access many attributes or few attributes from a single dimension table the performance of the query falls. So we denormalize this dimension table into two or sub dimensions. Now the same star schema is transformed into snow Flake schema.
By doing so the performance improves

 
Is this answer useful? Yes | No
February 04, 2008 21:57:25   #3  
ghoshkunal123 Member Since: January 2008   Contribution: 8    

RE: Explain the situations where snowflake is better than star schema
star schema is good for simple queries and logic. But snowflake schema is good for complex queries and logic. Snowflake schema is nothing but an extension of the star schema in which the dimension tables are further normalized to reducy redundancy. Hope this helps.
 
Is this answer useful? Yes | No
April 11, 2008 14:28:53   #4  
DWAlchemist Member Since: April 2008   Contribution: 1    

RE: Explain the situations where snowflake is better than star schema
A snowflake schema is a way to handle problems that do not fit within the star schema.  It consists of outrigger tables which relate to dimensions rather than to the fact table.

The amount of space taken up by dimensions is so small compared to the space required for a fact table as to be insignificant.   Therefore, tablespace or disk space is not a considered a reason to create a snowflake schema.

The main reason for creating a snowflake is to make it simpler and faster for a report writer to create drop down boxes.  Rather than having to write a select distinct statement, they can simply select * from the code table.

Junk dimensions and mini dimensions are another reason to create add outriggers.  The junk dimensions contain data from a normal dimension that you wish to separate out, such as fields that change quickly.  Updates are so slow that they can add hours to the load process.  With a junk dimension, it is possible to drop and add records rather than update.

Mini dimensions contain data that is so dissimilar between two or more source systems that would cause a very sparse main dimension.  The conformed data that can be obtained from all source systems is contained in the parent dimension and the data from each source system that does not match is contained in the child dimension.

Finally, if you are unlucky enough to have end users actually adding or updating data to the data warehouse rather than just batch loads, it may be necessary to add these outriggers to maintain referential integrity in the data being loaded.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links



 
Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape