INTEGRATION SERVICES IN THE REAL WORLD Brian Garraty, Database Administrator Virginia Beach City Public Schools.

Slides:



Advertisements
Similar presentations
Introduction to ETL Using Microsoft Tools By Dr. Gabriel.
Advertisements

Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Moving Data Lesson 23. Skills Matrix Moving Data When populating tables by inserting data, you will discover that data can come from various sources.
IWay Service Manager 6.1 Product Update Scott Hathaway iWay Software Copyright 2010, Information Builders. Slide 1.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Error Handling in SSIS Reza Rad SQL Server MVP, Author, DW / BI Architect.
Top 10 SSIS Best Practices Tim Mitchell Artis Consulting The World’s Largest Community of SQL Server Professionals.
Week 5 – Chap. 5 Data Transfer DBAs often must transfer data to and from text files, Excel spreadsheets, Access, Oracle or other SQL Server databases This.
Module 11: Data Transport. Overview Tools and functionality in Oracle and their equivalents in SQL Server for: Data transport out of the database Data.
SQL Server 2005 Integration Services Mike Taulty Developer & Platform Group Microsoft Ltd
Copyright 2007– WinWare, Inc. Session: How to Utilize the Open Database Architecture of CribMaster Presenter: Phil Stenger.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
What’s New in SSIS with SQL 2008 Bret Stateham Training Manager Vortex Learning Solutions blogs.netconnex.com.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
 Nate Locklin ◦ Database Analyst, PPG Industries ◦  Steve Tirone ◦ Data Warehouse Analyst, Amerinet ◦
SQL Server 2008 for Developers John
Agenda Principal Consultant, SharePoint Development Team Lead John Ramminger Linked In:
PHP meets MySQL.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
10 Things All BI Administrators Should Know Robert L Davis.
Understanding SSIS Control Flows Bret Stateham Training Manager Vortex Learning Solutions blogs.netconnex.com.
1 SQL Server 2000 Administration Kashef Mughal MSB.
DTS Conversion to SSIS Conversion Best Practices Mike Davis
SQL Server User Group Meeting Reporting Services Tips & Tricks Presented by Jason Buck of Custom Business Solutions.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Oracle Data Integrator Procedures, Advanced Workflows.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Brian  Brian D. Garraty  SQL Server DBA, Va Beach Public Schools  HRSSUG Leadership Team  Background in C++, VB, ASP, C#
02 | Data Flow – Extract Data Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons Great.
Learningcomputer.com SQL Server 2008 –Views, Functions and Stored Procedures.
SSIS – Deep Dive Praveen Srivatsa Director, Asthrasoft Consulting Microsoft Regional Director | MVP.
Creating Simple and Parallel Data Loads With DTS.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Scripting Just Enough SSIS to be Dangerous. 6/13/2015 Visit the Sponsor tables to enter their end of day raffles. Turn in your completed Event Evaluation.
© SCRIBE SOFTWARE CORPORATION 2008 Tips and Tricks for Working with Scribe Insight Trace Files.
Pulling Data into the Model. Agenda Overview BI Development Studio Integration Services Solutions Integration Services Packages DTS to SSIS.
Dynamic SQL Writing Efficient Queries on the Fly ED POLLACK AUTOTASK CORPORATION DATABASE OPTIMIZATION ENGINEER.
Lawson Mid-America User Group Spring 2016 Meeting.
SSIS ETL Data Resource Management. Create an ETL package using a wizard database server to database server The business goal of this ETL package is to.
Practical MSBI(SSIS, SSAS,SSRS) online training. Contact Us: Call: Visit:
Microsoft BI Online Training AcuteSoft: India: , Land Line: +91 (0) USA: , UK.
©NIIT BCP and DTS Implementing Stored Procedures Lesson 2A / Slide 1 of 23 Objectives In this lesson, you will learn to: Perform bulk copy using the BCP.
10 Things All BI Administrators Should Know Robert L Davis Database Engineer
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
SSIS Templates, Configurations & Variables
ETL Design - Stage Philip Noakes May 9, 2015.
Presented By: Jessica M. Moss
What Is The SSIS Catalog and Why Do I Care?
Visual Studio Database Tools (aka SQL Server Data Tools)
Dynamic SQL Writing Efficient Queries on the Fly
Glasgow, SQL Server Meetup
Dynamic SQL: Writing Efficient Queries on the Fly
Dynamic SQL Writing Efficient Queries on the Fly
Quick Start Guide for Visual Studio 2010
Populating a Data Warehouse
Populating a Data Warehouse
dbatools - PowerShell and SQL Server Working Together
Populating a Data Warehouse
Visual Studio Database Tools (aka SQL Server Data Tools)
Populating a Data Warehouse
Dynamic SQL: Writing Efficient Queries on the Fly
Getting started with Powershell for the DBA
Using JDeveloper.
SSDT and Database Project Basics
Michelle Haarhues Keeping up with SSMS.
Presentation transcript:

INTEGRATION SERVICES IN THE REAL WORLD Brian Garraty, Database Administrator Virginia Beach City Public Schools

Who I Am  DBA for Virginia Beach City Public Schools  10 years working with SQL Server  5 years working with SSIS  MCITP: DBA Integration Services in the Real World, Brian Garraty

Who You Are  DBAs?  Developers?  DBAs with Development Background?  SSIS experience? DTS experience?  SSIS fans? SSIS haters? Integration Services in the Real World, Brian Garraty

Itinerary Integration Services in the Real World, Brian Garraty  Introduction  Real World SSIS Case Studies  Wrap Up  Q&A  Resources

Can you farm?” –Mitch Hedberg “You sure are a great cook! Integration Services in the Real World, Brian Garraty

What SSIS Buys Me Integration Services in the Real World, Brian Garraty  Flexibility  Performance  Rapid development  Dependability  Security

SSIS Rather Than… Integration Services in the Real World, Brian Garraty  xp_cmdshell  bcp/BULK INSERT  osql/SQLCMD  Linked Servers  Stand-alone.NET Projects

How I Learned Integration Services in the Real World, Brian Garraty  Read “Paradigm Shift” article  Rewrote monster, unwieldy stored procedure  True user documentation (blogs)  Rewrote first SSIS project

A lot of problems have started looking like nails.” – Me “Since SSIS has been my hammer, Integration Services in the Real World, Brian Garraty

Storing Snapshot of Active Directory in SQL Server Tables Case Study #1 Integration Services in the Real World, Brian Garraty

AD Snapshot: Requirements Integration Services in the Real World, Brian Garraty  Query Active Directory for:  User Accounts  Groups  Group Memberships  QA the results  Load data into SQL Server tables

AD Snapshot: Linked Server Approach Integration Services in the Real World, Brian Garraty  Create linked server to ADSI  Query linked server to temp tables  QA temp tables (2 nd iteration)  Replace data in destination tables from temp table

AD Snapshot: Linked Server Problems Integration Services in the Real World, Brian Garraty  Partial results (limited to 2000 results)  Timeouts without error message  “An error occurred” Errors  Not Configurable

AD Snapshot: SSIS Approach Integration Services in the Real World, Brian Garraty  Script tasks in Control Flow  Query AD via DirectoryServices.DirectorySearcher  Stage results in XML  QA  Execute SQL Task for row counts  Script task to check threshold and throw error

AD Snapshot: SSIS Approach (con’t) Integration Services in the Real World, Brian Garraty  Expression Precedence Constraint  For each item  Truncate via Execute SQL Task  Data Flow Task loads table from XML

Index Defragmentation Case Study #2 Integration Services in the Real World, Brian Garraty

Index Defrag: Requirements Integration Services in the Real World, Brian Garraty  Targeted defragmentation  Configurable thresholds  Support for 2005 syntax and features  Report-only mode

Index Defrag: Without SSIS Integration Services in the Real World, Brian Garraty  Many choices  Powershell  Stored procedure  SMO  Valid options - No problems slide here

Index Defrag: SSIS Approach Integration Services in the Real World, Brian Garraty  Generic SSIS package – can run on any server  Store thresholds in configuration  ForEach with SMO to loop dbs

Index Defrag: SSIS (con’t) Integration Services in the Real World, Brian Garraty  Dynamic SQL to query indexes  sys.dm_db_index_physical_stats  sys.dm_db_index_usage_stats  ForEach with NodeList to loop indexes  Script Task to build defrag statement

Other Projects Integration Services in the Real World, Brian Garraty  Monster Stored Procedure  Queries by Committee  Rendered Report Compare  Nightly Data Extracts via Secure-FTP

Wrap Up Integration Services in the Real World, Brian Garraty

Praise for SSIS Integration Services in the Real World, Brian Garraty  Parallelism  Expressions  Configurations .NET

Praise for SSIS (con’t) Integration Services in the Real World, Brian Garraty  Debugging  Data Viewers  Logging  Security  No linked servers  Not necessarily dependent on SQL Service Account

Gripes: Dark Side of SSIS Integration Services in the Real World, Brian Garraty  GUI intensive  Visual Studio outside DBA comfort zone  Requires.NET Skills Helpful  What you see != What you get  Expressions  Configurations

Gripes: Dark Side of SSIS (con’t) Integration Services in the Real World, Brian Garraty  Source Control Integration  Expressions – Syntax and Editor  Copy/Paste and ID’s  Sorting – DB vs. SSIS

My* Top 10 Tips and Best Practices Integration Services in the Real World, Brian Garraty 1. Store packages as files - always 2. ROOT_FOLDER and common directory structure 3. Naming Conventions - Project, Package, and Task 4. Use indirect configurations 5. Break project into multiple packages

My* Top 10 Tips and Best Practices Integration Services in the Real World, Brian Garraty 6. Do not sort in T-SQL 7. Use logging – expression can timestamp file name 8. Learn to use ForEach container with NodeList 9. Use CmdExec steps in SQL Agent with Proxy Accounts to run packages 10. Create separate SSMS solution to manage source control of all T-SQL code

Questions and Answers? Integration Services in the Real World, Brian Garraty

Resources Integration Services in the Real World, Brian Garraty  Jamie Thomson’s old blog (now on SQLBLOG)   Paradigm Shift Article on SSC   SQL Lunch   My Blog   #SSISHELP

Brian Garraty NULLgarity.wordpress.com Thanks! Integration Services in the Real World, Brian Garraty