+ All Categories
Home > Documents > Lecture 39

Lecture 39

Date post: 19-Jul-2016
Category:
Upload: williamsock
View: 213 times
Download: 0 times
Share this document with a friend
Description:
Data Ware Housing
43
DWH-Ahsan Abdullah DWH-Ahsan Abdullah 1 Data Warehousing Data Warehousing Lab Lect-1 Lab Lect-1 DTS: Introduction DTS: Introduction Virtual University of Virtual University of Pakistan Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics Research www.nu.edu.pk/cairindex.asp FAST National University of Computers & Emerging Sciences, FAST National University of Computers & Emerging Sciences, Islamabad Islamabad
Transcript
Page 1: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

11

Data Warehousing Data Warehousing Lab Lect-1Lab Lect-1

DTS: IntroductionDTS: Introduction

Virtual University of PakistanVirtual University of Pakistan

Ahsan AbdullahAssoc. Prof. & Head

Center for Agro-Informatics Researchwww.nu.edu.pk/cairindex.asp

FAST National University of Computers & Emerging Sciences, IslamabadFAST National University of Computers & Emerging Sciences, Islamabad

Page 2: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

22

Reference BookReference Book

Carl RabelerMS SQL Server 2000 DTS Step-By-Step

Page 3: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

33

Data Transformation ServicesData Transformation Services

Page 4: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

44

DTS OverviewDTS Overview

Disparate Sources of data

Extract DataExtract Data

Transform DataTransform Data

ConsolidateConsolidate DataData

Single or Multiple Destinations

DTS, Graphical tools & Programmable objects

Page 5: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

55

DTS Overview: ConceptDTS Overview: Concept

Centralized Data

DTS

DTS

Page 6: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

66

DTS Overview: ExampleDTS Overview: Example

08/11/197908/11/1979MOHAMMAD FARRUKHMOHAMMAD FARRUKH 05/08/198005/08/1980AHMAD JAHANZEBAHMAD JAHANZEB 23/11/198023/11/1980CHOUDHARY MOHAMMAD ASLAM CHOUDHARY MOHAMMAD ASLAM 08/06/196808/06/1968MOHAMMAD ANWARMOHAMMAD ANWAR

DTS

DTS

23-Nov-198023-Nov-1980CH MUHMD. ASLAM CH MUHMD. ASLAM 8-JUN-19688-JUN-1968MUHAMMED ANWARMUHAMMED ANWAR

11-8-7911-8-79M. FARRUKHM. FARRUKH 8-5-808-5-80AHMED JAHANZEBAHMED JAHANZEB

Page 7: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

77

DTS Overview: OperationsDTS Overview: Operations

Page 8: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

88

DTS Overview: ToolsDTS Overview: Tools

Page 9: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

99

SQL Server Enterprise ManagerSQL Server Enterprise Manager

Path: Start >> Programs >> Microsoft SQL Server >> Enterprise Manager

Page 10: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1010

DTS Overview: MarketDTS Overview: Market

Page 11: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1111

DTS BasicsDTS Basics

Page 12: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1212

1. DTS Package1. DTS Package

ConnectionsConnections DTS tasksDTS tasks DTS transformationsDTS transformations WorkflowsWorkflows

Page 13: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1313

1. DTS Package: Contents1. DTS Package: Contents

Page 14: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1414

1. DTS Package: Execution1. DTS Package: Execution

Page 15: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1515

11. DTS Package: Creating. DTS Package: Creating

Import/Export wizardImport/Export wizard

DTS DesignerDTS Designer

Programming DTS applicationsProgramming DTS applications

Page 16: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1616

1. Expand tree node ‘Data Transformation Services’ and select the option for available location to save package

2. Tool>Data Transfer Service> Import/Export

1. DTS Package: Import/Export Wizard1. DTS Package: Import/Export Wizard

Page 17: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1717

1. DTS Package: Import/Export Wizard1. DTS Package: Import/Export Wizard

Page 18: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1818

1. DTS Package: Import/Export Wizard1. DTS Package: Import/Export Wizard

Page 19: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1919

1. DTS Package: Designer1. DTS Package: Designer

1. Expand tree node ‘Data Transformation Services’ and select the option for available location to save package

2. Action>New Package

Page 20: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2020

1. DTS Package: Designer1. DTS Package: Designer

Page 21: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2121

1. DTS Package: Designer1. DTS Package: Designer

Page 22: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2222

1. DTS Package: Programming1. DTS Package: Programming

Page 23: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2323

1. DTS Package: Saving1. DTS Package: Saving

Page 24: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2424

1. DTS Package: Saving1. DTS Package: Saving

Page 25: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2525

Contains Packages that are saved to this particular instance of SQL Server

1. DTS Package: Saving1. DTS Package: Saving

Page 26: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2626

Contains Packages that are saved to Meta Data Services of this instance of SQL Server. It maintains version information of each package saved to it.

1. DTS Package: Saving1. DTS Package: Saving

Page 27: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2727

It is a repository of metadata information of databases scanned to Meta Data Services Packages. It also provides version tracking facility of Packages.

1. DTS Package: Saving1. DTS Package: Saving

Page 28: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2828

1. DTS Package: Operations1. DTS Package: Operations

Page 29: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2929

1. DTS Package: Editing1. DTS Package: Editing

Page 30: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3030

Save dialog box allows to set Save dialog box allows to set passwordspasswords

Owner password puts limits on Owner password puts limits on both editing and execution of both editing and execution of the packagethe package

1. DTS Package: Password protection1. DTS Package: Password protection

Page 31: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3131

1. DTS Package: Scheduling/Execution1. DTS Package: Scheduling/Execution

Page 32: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3232

1. DTS Package: Versioning1. DTS Package: Versioning

Page 33: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3333

2. DTS Tasks2. DTS Tasks

Page 34: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3434

2. DTS Tasks 2. DTS Tasks (Cont.)(Cont.)

Set of all possible tasks in designer, drag the required task in design area and set its properties

Page 35: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3535

3. DTS Transformations3. DTS Transformations

Page 36: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3636

3. DTS Transformations: Available3. DTS Transformations: Available

Page 37: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3737

3. DTS Transformations: Customized3. DTS Transformations: Customized

Page 38: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3838

3. DTS Transformations (Cont.)3. DTS Transformations (Cont.) ActiveX ScriptActiveX Script

Page 39: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

3939

4. DTS Connections4. DTS Connections

Page 40: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

4040

4. DTS Connections 4. DTS Connections (3 SLIDES.)(3 SLIDES.)

Page 41: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

4141

4. DTS Connections (Cont.)4. DTS Connections (Cont.)

Set of all possible connections in designer, drag the required connection in design area and set its properties

File connection

Data link connection

Data source connection

Page 42: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

4242

5. Package workflow5. Package workflow

Task A

Task B

Task C

Task D

Task E

On completion

On Success

On Failure

Page 43: Lecture 39

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

4343

5. Package workflow (DESIGNER)5. Package workflow (DESIGNER)


Recommended