Docsity

Extract Transform Load, Data Extraction - Data Warehousing - Lecture Slides, Slides of Data Warehousing

Partial preview of the text

Download Extract Transform Load, Data Extraction - Data Warehousing - Lecture Slides and more Slides Data Warehousing in PDF only on Docsity!

1

Data Warehousing

Lecture-

Extract Transform Load (ETL)

2

Extract Transform Load (ETL)

4

The ETL Cycle

EXTRACT The process of reading data from different sources.

TRANSFORM The process of transforming the extracted data from its original state into a consistent state so that it can be placed into another database.

LOAD The process of writing the data into the target source.

TRANSFORM CLEANSE

LOAD

Data Warehouse

OLAP Temporary Data storage

EXTRACT

MIS Systems (Acct, HR)

Legacy Systems

Other indigenous applications (COBOL, VB, C++, Java)

Archived data

www data

5

ETL Processing

Extracts from source systems

Data Movement

Data Transfor- mation

Data Loading

Index Mainte- nance

Statistics Collectio

Data Cleansing

ETL is independent yet interrelated steps.

It is important to look at the big picture.

Data acquisition time may include…

Backup

Back-up is a major task, its a DWH not a cube

ote: Backup will come as other lements after “Statistical collection”

7

Types of Data Extraction

Logical Extraction

 Full Extraction

 Incremental Extraction

Physical Extraction

 Online Extraction

 Offline Extraction

 Legacy vs. OLTP

8

Logical Data Extraction

 Full Extraction

The data extracted completely from the source system.

No need to keep track of changes.

Source data made available as-is with any additional information.

 Incremental Extraction

Data extracted after a well defined point/event in time.

Mechanism used to reflect/record the temporal changes in data (column or table).

Sometimes entire tables off-loaded from source system into the DWH.

Can have significant performance impacts on the data warehouse server. Docsity.com

10

Physical Data Extraction

 Legacy vs. OLTP

Data moved from the source system

Copy made of the source system data

Staging area used for performance reasons

11

Data Transformation

Basic tasks

  1. Selection
  2. Splitting/Joining
  3. Conversion
  4. Summarization
  5. Enrichment

13

Data Transformation Basic Tasks

 Splitting/joining

14

Data Transformation Basic Tasks

 Conversion

16

 Data representation change

 EBCIDIC to ASCII

 Operating System Change

 Mainframe (MVS) to UNIX

 UNIX to NT or XP

 Data type change

 Program (Excel to Access), database format (FoxPro to

Access).

 Character, numeric and date type.

 Fixed and variable length.

Data Transformation Basic Tasks: Conversion

Example-

17

Data Transformation Basic Tasks

 Summarization

19

Data Transformation Basic Tasks: Enrichment

Example

 Data elements are mapped from source tables

and files to destination fact and dimension tables.

 Default values are used in the absence of source

data.

 Fields are added for unique keys and time

elements.

Input Data HAJI MUHAMMAD IBRAHIM, GOVT. CONT. K. S. ABDULLAH & BROTHERS, MAMOOJI ROAD, ABDULLAH MANZIL RAWALPINDI, Ph 67855

Parsed Data First Name: HAJI MUHAMMAD Family Name: IBRAHIM Title: GOVT. CONT. Firm: K. S. ABDULLAH & BROTHERS Firm Location: ABDULLAH MANZIL Road: MAMOOJI ROAD Phone: 051- City: RAWALPINDI Code: 46200

20

Aspects of Data Loading Strategies

 Need to look at:

 Data freshness  System performance  Data volatility

 Data Freshness

 Very fresh low update efficiency  Historical data, high update efficiency  Always trade-offs in the light of goals

 System performance

 Availability of staging table space  Impact on query workload

 Data Volatility

 Ratio of new to historical data

 High percentages of data change (batch update)