1 integration services in sql server 2008 allan mitchell – sqlbits – oct 2007
TRANSCRIPT
![Page 1: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/1.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/6.jpg)
6
DEMO
![Page 7: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/8.jpg)
8
DEMO
![Page 9: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/9.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/12.jpg)
12
DEMO
![Page 13: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/13.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/14.jpg)
14
DEMO (Quick Look)
![Page 15: 1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/15.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/16.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/17.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f455503460f94c66bfd/html5/thumbnails/18.jpg)
18
DEMO