20
DTS Conversion to SSIS Conversion Best Practices Mike Davis ([email protected] )

DTS Conversion to SSIS Conversion Best Practices Mike Davis ([email protected])[email protected]

Embed Size (px)

Citation preview

Page 1: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

DTS Conversion to SSISConversion Best PracticesMike Davis([email protected])

Page 2: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

About the Speaker

•BI consultant Specializing in SSIS, SSRS • .Net Developer•Four years experience with SQL Server•Currently developing new products with

Pragmatic Works for SQL Server•Blog on Pragmaticworks.com

Page 3: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Why choose SSIS?•64bit support•Parallel in-memory multi buffer

architecture helps to load data several times faster than DTS.

•Logging, Configuration, CheckPoint etc.•Source Safe Integration because

everything is XML•Many new Tasks (e.g. Script Task, For

Each Loop, XML Task etc.) that replace need for ActiveX

Less Maintenance… Faster Development… Faster Performance

Page 4: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

DTS vs. SSIS Speed Test

DTSSSIS SQL Server Destination

SSIS OLE DB Destination

Average Runtime (seconds)

33.2 s 11.3 s 12.3 s

•On 32 bit dual core machine•Pulling 1 million rows out and writing to

SQL table with no transformation•SSIS 65% + faster than DTS•Adding transformation would add more

SSIS advantage

Page 5: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Project Options

•Run DTS in 2005 or 2008▫Missing the package logs▫Runs under 32 bit

•Upgrade using MS Wizard▫Not compatible with most package

•Upgrade using DTSxchange▫Minutes per package

•Starting from scratch▫About 3-5 hrs per package

Page 6: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Demo

•Running DTS package in SQL Server 2005/2008

Page 7: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Microsoft Package Upgrade Wizard•Built into SQL Server 2005/2008

▫Does not handle ODBC▫Only handles a few types of text file use

cases▫No Dynamic Properties Task▫No UDL or legacy database support in

data pump▫Packages only have about a 20% of working

Page 8: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

What is Involved in Upgrading?

•Scope and Number of Packages•How long will it take you to migrate each

type of task•How to migrate, Manual or Tool•Upgrade the ActiveX Script Task logic,

Manual•Test, test and test

Page 9: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Microsoft Package Upgrade Wizard•Demo

Page 10: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Feature Highlights• Profiles DTS packages to help with a conversion

project plan• Rapidly converts DTS Packages to SSIS (2005 or

2008) and applies SSIS best practices• Converts tasks that are not handled by the

existing SQL Server conversion wizard•Handles Flat files Properly•Shows Warnings not just success

Page 11: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

DTS xChange Profiler

Page 12: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

DTS xChange Migration

Page 13: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

A Few of the Conversion Rules

•Support for migration of children packages

•Creates a robust Auditing framework•Consolidate Connections in Connection

Manager•Create configuration files automatically•Create package transactions•Checkpoints•NULL handling

Page 14: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Other Advantages

•Handles text files properly•Handles ODBC for a source•Migrates Dynamic Properties Tasks•Advanced profiler to estimate your project•Full validation of the output of the

migration•92% package success rate in customer

migrations over thousands of packages

Page 15: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Built-in Reports

Page 16: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

ActiveX Script Migration

•All tools mentioned migrate DTS ActiveX to ActiveX in SSIS

•ActiveX migrates to SSIS but you would not want to keep it there and it may not run

•Need for ActiveX Script Task has been replaced with built-in, easy to maintain SSIS tasks▫File System Object = File System Task▫Mail objects = Send Mail Task (now has

SMTP)▫ADO objects = Execute SQL Task

Page 17: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Summary•MS Wizard•Profiler•DTSxchange•ActiveX Script conversions

For Questions Email :•[email protected]

Page 18: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Next Steps

•Profiler is free at DTSxchange.com•Download a free trial of DTSxchange to

convert 3 packages •Watch the demonstrations on

DTSxchange.com

Page 19: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Giveaway

•A copy of Professional SSIS will be given away.

Page 20: DTS Conversion to SSIS Conversion Best Practices Mike Davis (MDavis@pragmaticworks.com)MDavis@pragmaticworks.com

Questions• Contact Pragmatic Sales Department

[email protected][email protected] (me)

• Thank you for attending