0% found this document useful (0 votes)
72 views3 pages

What Is The Flow of Loading Data Into Fact & Dimensional Tables?

Fact tables contain numeric values and foreign keys linking to dimension tables. Dimension tables contain unique primary keys. Data is first loaded into dimension tables, then into fact tables using the primary keys in dimension tables. Stage variables retain intermediate values during processing but don't pass values to target columns. Derivations specify expressions to pass values to target columns. Constants define conditions specifying data flow through links as either true or false. Containers are reusable collections of stages. There are local containers for a single job and shared containers used across multiple jobs in a project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views3 pages

What Is The Flow of Loading Data Into Fact & Dimensional Tables?

Fact tables contain numeric values and foreign keys linking to dimension tables. Dimension tables contain unique primary keys. Data is first loaded into dimension tables, then into fact tables using the primary keys in dimension tables. Stage variables retain intermediate values during processing but don't pass values to target columns. Derivations specify expressions to pass values to target columns. Constants define conditions specifying data flow through links as either true or false. Containers are reusable collections of stages. There are local containers for a single job and shared containers used across multiple jobs in a project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

What is the flow of loading data into fact &

dimensional tables?
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.

How do you execute datastage job from


command line prompt?
Using "dsjob" command as follows.
dsjob -run -jobstatus projectname jobname

What are Stage Variables, Derivations and


Constants?
Stage Variable - An intermediate processing variable that retains value during read and doesnt
pass the value into target column.

Derivation - Expression that specifies value to be passed on to the target column.

Constant - Conditions that are either true or false that specifies flow of data with a link.

Containers : Usage and Types?


Container is a collection of stages used for the purpose of Reusability.

There are 2 types of Containers.


a) Local Container: Job Specific
b) Shared Container: Used in any job within a project.
Compare and Contrast ODBC and Plug-In
stages?
ODBC : a) Poor Performance.
b) Can be used for Variety of Databases.
c) Can handle Stored Procedures.

Plug-In: a) Good Performance.


b) Database specific.(Only one database)
c) Cannot handle Stored Procedures.

How to handle Date convertions in


Datastage? Convert a mm/dd/yyyy format to
yyyy-dd-mm?
We use a) "Iconv" function - Internal Convertion.
b) "Oconv" function - External Convertion.

Function to convert mm/dd/yyyy format to yyyy-dd-mm is


Oconv(Iconv(Filedname,"D/MDY[2,2,4]"),"D-MDY[2,2,4]")

Types of Parallel Processing?


Parallel Processing is broadly classified into 2 types.
a) SMP - Symmetrical Multi Processing.
b) MPP - Massive Parallel Processing.

What does a Config File in parallel extender


consist of?
Config file consists of the following.
a) Number of Processes or Nodes.
b) Actual Disk Storage Location.
What is Modulus and Splitting in Dynamic
Hashed File?
In a Hashed File, the size of the file keeps changing randomly.
If the size of the file increases it is called as "Modulus".
If the size of the file decreases it is called as "Splitting".

Types of views in Datastage Director?


There are 3 types of views in Datastage Director
a) Job View - Dates of Jobs Compiled.
b) Log View - Status of Job last run
c) Status View - Warning Messages, Event Messages, Program Generated Messages.

You might also like