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  >  DataStage

 Print  |  
Question:  What is the flow of loading data into fact & dimensional tables? 



Answer: Fact table - Table with Collection of Foreign Keys corresponding to the Primary Keys in Dimensional table. Consists of fields with numeric values.
Dimension table - Table with Unique Primary Key.

Load - Data should be first loaded into dimensional table. Based on the primary key values in dimensional table, the data should be loaded into Fact table.



August 08, 2007 08:57:35 #3
 Siraj   Member Since: Visitor    Total Comments: N/A 

RE: What is the flow of loading data into fact & d...
 


__________________                       _______________     ________________
|_________________|                     |______________ |     |_______________|
|                                  |                     |                            |      |                              |
|______Flat Files____|                     |                            |      |                              |
|                                  | Stores data |                            |      |                              |
|___SQL Server Files_ | Periodically |                             |      |                              |
|                                  |------------>|       Staging         |--->|    Target Table      |
|_____Java files_____|         |          |         Area            |     |                               |
|                                  |         |          |                            |      |                              |
|_____Sap Files_____|         |          |                            |      |                              |
|                                  |         |          |                            |      |                              |
|___Oracle files_____ |         |          |                            |      |_______________|
|_________________|         |          |______________|      |_Data Warehouse_|
                                              |
Different types of Relational  |
Sources                                 |           ________________
                                             |          |________________|
                                             |          |                                | 
                                             |          |                                |
                                             |          |          ODS               |
                                             |----->| (Operational Data  |
                                Stores Recent  |      Store)                |
                                       Data          |________________|


The data is extracted from the different source systems.After extraction the data is transfered to the staging layer for cleansing purpose.Cleansing means LTRIM/RTRIM etc.The data is coming periodically to the staging layer.An ODS is used to store the Resent data.An ODS and the Staging Area are the two types of layer between the source system and the target system.After that the data is transformed according to the buisness needs with the help of the ETL Transformations.And then the data is finally loaded into the target system or data warehouse.

     

 

Back To Question