1 / 13

Creating Simple and Parallel Data Loads With DTS

Creating Simple and Parallel Data Loads With DTS. DTS Package Components. Connections Access Data Sources and Destinations Tasks Describe Data Transformations or Functions Steps Define the Order of Task Operations or Workflow Global Variables Store Data that Can Be Shared Across Tasks. DTS.

aine
Download Presentation

Creating Simple and Parallel Data Loads With DTS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creating Simple and Parallel Data Loads With DTS

  2. DTS Package Components • ConnectionsAccess Data Sources and Destinations • TasksDescribe Data Transformations or Functions • StepsDefine the Order of Task Operations or Workflow • Global VariablesStore Data that Can Be Shared Across Tasks

  3. DTS Using DTS to Load the Product Dimension SQL Server Polaris Database SQL Server Northwind Database

  4. Understanding Connections • Possible Data Sources • OLE DB – Microsoft Data Access Components + 3rd Party • ODBC – Microsoft Data Access Components + 3rd Party • Types of Connections • File connections – Access, Excel, delimited, fixed width files • Database connections – SQL Server, Oracle • Microsoft Data Links – UDL files • Connection Information Stored in the Package

  5. Task Groups • Tasks That Transform Data • Tasks That Copy and Manage Data • Tasks That Function As Jobs Supplied tasks AND user-defined custom tasks…

  6. Tasks That Transform Data • Transform Data Task Transforms and Inserts Data • Data Driven Query Task Performs Flexible Transact-SQL Operations • ParallelDataPumpTask Processes Hierarchical Rowsets

  7. Tasks That Copy and Manage Data • Bulk Insert Task Loads Files into SQL Server • Execute SQL Task Runs SQL Statements • Copy SQL Server Objects Task Copies Objects Between SQL Server Databases • Transfer Databases Task Copies a SQL Server Database • Transfer Jobs Task Copies SQL Server Agent Jobs • Transfer Logins Task Copies SQL Server Logins • Transfer Master Stored Procedures Task Copies SQL Server Master Database Stored Procedures • Transfer Error Messages Task Copies SQL Server User-specified Error Messages

  8. Tasks That Function As Jobs • Execute Process Task Runs Executable Files • Message Queue Task Sends and Receives Messages • Execute Package Task Executes DTS Packages • Dynamic Properties Task Changes Package Properties • ActiveX Script Task Performs User-Defined Logic • FTP Task Transfers Files • Analysis Services Task Processes Cubes • Data Mining Task Processes Data Mining Models • Send Mail Task Sends Email Messages

  9. Defining Step Components • A Task Determines the Action of a Step • Precedence Constraints Define When a Step Executes • Types of Precedence Constraints • On Completion • On Success • On Failure      •  Step Execution Based on Precedence • Using zero, one, or multiple precedence constraints • Satisfying all precedence constraint conditions

  10. Advanced Step Properties (Workflow Properties) • Transaction Settings • Joining a step to package transaction • Committing a transaction • Rolling back a transaction • Execution Settings • Executing a step on the main package thread • Failing a package based on step failure • Disabling a step

  11. Storing and Executing Packages • Storing Packages • SQL Server • SQL Server Meta Data Services • Structured storage file • Visual Basic file • Executing Packages • Executing packages interactively • Reviewing execution results

  12. DTS Add a parallel data load to product_dim Creating Parallel Data Loads Polaris SQL Server Excel

  13. Pitfalls and Guidelines for Parallel Task Execution Pitfall Guideline Do Not Reuse Connections Among Tasks that Need to Run in Parallel Use Separate Connections Verify Max Number of Tasks Executed in Parallel Rule of Thumb = 2 x the Number of Processors Custom Tasks Created in Visual Basic Do Not Support Parallel Execution Execute VB Tasks on the Main Package Thread Some OLE DB Providers Do Not Support Parallelism Verify that the OLE DB Provider Supports Parallelism

More Related