1 integration services in sql server 2008 allan mitchell – sqlbits – oct 2007

19
1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

Upload: roxanne-mcdonald

Post on 14-Dec-2015

217 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

1

Integration Services in SQL Server 2008

Allan Mitchell – SQLBits – Oct 2007

Page 2: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

2

Introduction• New threading architecture• Pipeline limiter (not really new!)• New Tasks/Components/Enumerators• C#• Change Control routines for data extraction• Q and A

Page 3: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

3

Who am I?• SQL Server MVP

• Co author on Wrox book on SSIS

• www.SQLDTS.com, www.SQLIS.com

• Consultancy company – Konesans (www.konesans.com)

Page 4: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

4

What I will not cover

• Finding SSIS

• Creating packages

• General package design

Page 5: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

5

Threading• How is it now?

– Some processes use single threads• Why is this not brilliant?

– Sync Outputs with a blocking transform on one of the outputs kills performance

• What is coming?– Threading model changed to allow components to go out

and try to get their own thread• Why will this help?

– Takes advantage of today’s bigger, faster boxes

Page 6: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

6

DEMO

Page 7: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

7

Pipeline Limiter

• Why would they want to slow me down?– Fill buffers and run out of memory

• I see it now in SQL Server 2005? Really?– You see it but SSIS keeps quiet

Page 8: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

8

DEMO

Page 9: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

9

New Tasks and Components(Data Collector Specific)

• Tasks– Update Row Counts– Reset Row Counts– Trace Start Script– Cache Window Maintenance

• Components– TxPerfCounters

Page 10: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

New Enumerator (s)

• ForEach Database Enumerator– Uses OLEDB for connection– Configure what DBs you enumerate (see next

slide)– Rubbish UI experience

10

Page 11: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

DB Enumeration Types

11

DBENUM_CUSTOM = 0DBENUM_SYSTEMONLY = 1DBENUM_USERONLY = 2DBENUM_ALL = 3

Page 12: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

12

DEMO

Page 13: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

13

C# !

• Script Component• Script Task• Custom component development has always been available in C#

Page 14: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

14

DEMO (Quick Look)

Page 15: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

15

Using New DB Change Control

•Billed as an ETL feature

•We’ll use it if it’s there

•What is it?

•How do I use it then?

Page 16: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

What and Why

• Increased efficiency of ETL Process• Incremental Extractions• Identify changed rows and columns• Identify operation on data, all changes or net

changes• Log Based (Transactional Replication LR)• Lightweight

16

Page 17: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

Terminology

• Capture Instance – Base Object (Max 2 per object)

• Capture Process – Reading of the log and placing the rows into the change tables

17

Page 18: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

18

DEMO

Page 19: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007

19

Questions?

Email: [email protected]