Get your Oracle data into SQL Server faster!

Slides:



Advertisements
Similar presentations
SQL Server Accelerator for Business Intelligence (SSABI)
Advertisements

Wouter Smit About the Speaker Wouter has been working in the data warehousing field for more than 10 years MCITP Professional Database Administrator.
VMware vCenter Server Module 4.
SQL Server ® 2008 ® Native Client. Agenda  Introduction to SQL Server Native Client  Building High-Performance Data Access Solutions  Going Beyond.
Confidential ODBC May 7, Features What is ODBC? Why Create an ODBC Driver for Rochade? How do we Expose Rochade as Relational Transformation.
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
Cedric Labuschagne Solutions Architect BI-Lateral BIN301.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
ODBC Open DataBase Connectivity a standard database access method developed by Microsoft to access data from any application regardless of which database.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
DB2 (Express C Edition) Installation and Using a Database
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
CSCI 6962: Server-side Design and Programming
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.

Overview of SQL Server Alka Arora.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Introduction to ADO.Net and Visual Studio Database Tools ISYS 512.
How to Configure Informix Connect and ODBC James Edmiston Informix DBA Consultant/Quest Information Systems, Inc. Informix User Forum 2005 Moving Forward.
Learningcomputer.com SQL Server 2008 – Installation of SQL Server 2008.
Frank Hilhorst President Progressive Consulting Inc. Open Source Data Sharing.
Designing and Developing WS B. Ramamurthy. Plans We will examine the resources available for development of JAX-WS based web services. We need an IDE,
DTS Conversion to SSIS Conversion Best Practices Mike Davis
IT:Network:Applications.  “Business runs on databases…” ◦ Understatement!  Requirements  Installation  Creating Databases  SIMPLE query ◦ Just enough.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
Christopher M. Pascucci.NET Programming: Databases & ADO.NET.
Crystal Reports Training
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
RAD to Database Connection Glenn Campbell
Oracle Warehouse Builder - Beta 1 New Features Jean-Pierre Dijcks.
Basics of JDBC Session 14.
SSIS – Deep Dive Praveen Srivatsa Director, Asthrasoft Consulting Microsoft Regional Director | MVP.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
Introduction to Oracle  Oracle Database XE, APEX and Oracle SQL Developer.
A highway through the mountains of data with the SQL Server Tabular Model This presentation is a walk through in-memory database and reporting features.
Brian Knight Founder Pragmatic Works BIN207 About the Speaker Brian is a SQL Server MVP Founder of Pragmatic Works Co-founder of SQLServerCentral.com.
1 Copyright © 2007, Oracle. All rights reserved. Installing and Setting Up the Warehouse Builder Environment.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Slide 1. Reality V12 Slide 3 Reality V12 - Headlines Web Services & XML External File Integration Fast Backup and Recovery Windows Printer Support Reality.
SAP Business One 9.0 integration for SAP NetWeaver Installation and Technical Configuration 2013 March.
Moving Data from Oracle to SQL with Biml
Top 10 Entity Framework Features Every Developer Should Know
Aga Private computer Institute Prepared by: Srwa Mohammad
Technical Specifications
Fundamental of Databases
Building Enterprise Applications Using Visual Studio®
Native DB2 for iSeries Source Training
ODBC, OCCI and JDBC overview
Data Definition and Data Types
Installation and database instance essentials
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
Why PC Based Control ?.
07 | Analyzing Big Data with Excel
Populating a Data Warehouse
Populating a Data Warehouse
Oracle Architecture Overview
Populating a Data Warehouse
Populating a Data Warehouse
Populating a Data Warehouse
From DTS to SSIS, Redesign or Upgrade
McGraw-Hill Technology Education
SSIS Data Integration Data Warehouse Acceleration
SSIS Data Integration Data Warehouse Acceleration
Getting Data Where and When You Want it with SQL Server 2005
SSIS Data Integration Data Warehouse Acceleration
Introduction to ADO.Net and Visual Studio Database Tools.
Presentation transcript:

Get your Oracle data into SQL Server faster! Phlippie Smit #83 Johannesburg

Phlippie Smit I have over 15 years’ experience with SQL Server. I spent most of my career in a MIS/BI environment and have used SQL Server 6.5 – 2008 in my endeavours. I am passionate about performance and optimisation, and improving out-dated processes and thinking.

Objectives Explore when to use the Microsoft Connector for Oracle by Attunity to extract data from Oracle sources. Learn about the requirements and installation of the Microsoft Connector for Oracle by Attunity. Understand how to use the Microsoft Connector for Oracle by Attunity effectively to extract data. Learn why the Microsoft Connector for Oracle by Attunity is so much faster than OLEDB, ODBC and .Net Providers to extract data from Oracle sources. Compare the different technologies – Extract speeds.

When to use Data extracts from operational systems running Oracle that carry high volumes of data, e.g. customer orders, billing data, payment data. Data extracts from Oracle data warehouses to further analyse in the Microsoft BI stack (SSIS/SSRS/SSAS) Any other high volume data extracts - Data cleansing, integration projects, test data, reference data, etc.

Requirements Oracle client software version 10.x or 11.x. Use 32-bit client on 32 bit platforms, 64-bit on 64-bit platform. On 64-bit platforms running BIDS, both the 64 and 32-bit Oracle clients should be installed. SQL Server 2008 and above - Enterprise or Developer Edition. Windows 2003,2008 and above.

Installation Install Oracle client(s). Check Oracle naming methods and ensure you have the latest data (e.g. tnsnames.ora) for your environment. Bing “microsoft provider for oracle by attunity download” to get the applicable providers on Microsoft’s website – get version 1.1. Install Microsoft Provider for Oracle (Attunity). Start BIDS, new SSIS project and check for the Oracle Source and Destination Data Flow Items in the Toolbox. If not there, go to “Tools”, “Choose Toolbox Items…” See Additional Resources (3)

Add the toolbox items

How to use the connector effectively Run BIDS as Administrator! Convert the extracted Oracle columns to string type by using “TO_CHAR” and a query, not table. Add type conversion after Oracle Source in Data Flow. Set Oracle Row BatchSize to 10000 (Data Flow Properties) Set DefaultBufferMaxRows to 20000 (Data Flow Properties)

Test/Demo configuration Oracle VirtualBox (Oracle Enterprise Linux) 2 VCPU, 2GB RAM Oracle 11G Dell Precision M6500 Laptop, Intel I7, 8 core, 16GB RAM Windows 7 x64 SQL Server 2008R2 Developer Edition Oracle 11G client (32 & 64 bit)

Test/Demo configuration CREATE TABLE "T_PEOPLE" ( "ID" NUMBER(18,0) NOT NULL ENABLE, "NAME" VARCHAR2(10 BYTE), "SURNAME" VARCHAR2(10 BYTE), "MARRIED" CHAR(1 BYTE), "CARS" CHAR(1 BYTE), "SALARY" NUMBER(18,2), "CHILDREN" CHAR(1 BYTE), "BANKNAME" VARCHAR2(50 BYTE), "CITY" VARCHAR2(50 BYTE), "DATEJOINED" DATE, "ACCOUNT_NUMBER" CHAR(8 BYTE), "EMPLOYER" VARCHAR2(100 BYTE), "DEPT" VARCHAR2(100 BYTE), "SECTOR" VARCHAR2(100 BYTE), "EMAIL_ADDRESS" VARCHAR2(100 BYTE) ) (10 million records) CREATE TABLE [dbo].[t_People]( [id] [bigint] NOT NULL, [name] [nchar](10) NOT NULL, [surname] [nchar](10) NOT NULL, [married] [bit] NOT NULL, [cars] [smallint] NOT NULL, [salary] [money] NOT NULL, [children] [smallint] NOT NULL, [bankname] [varchar](50) NOT NULL, [city] [varchar](50) NOT NULL, [datejoined] [datetime] NULL, [account_number] [char](8) NULL, [employer] [varchar](100) NULL, [dept] [varchar](100) NULL, [sector] [varchar](100) NULL, [email_address] [varchar](100) NULL)

Demo

Why is it faster? It speaks “Oracle” – The Oracle Call Interface (OCI) is used to communicate with the Oracle database instance. Customers are even using this technology to move data between Oracle instances (See Additional Resources for link). Our method removes the complexities of data type conversions from the extraction process while still handling the type conversion in SSIS. Control over row batch sizes. Did I mention it speaks “Oracle”?

Oracle Call Interface (OCI) The most comprehensive, high performance, native 'C' language based interface to the Oracle Database that exposes the full power of the Oracle Database. OCI provides the foundation on which various language specific interfaces such as Oracle JDBC-OCI, ODP.Net, Oracle Precompilers, Oracle ODBC and Oracle C++ Call Interface (OCCI) drivers are built.

Architecture comparison OLEDB, .Net, ODBC Microsoft Connector for Oracle vs

Microsoft Connector Version 1 Microsoft Connector Version 1.1 for Oracle by Attunity supported platforms & versions SQL Server 2008 9.2.0.4 and higher SSIS Oracle OCI DB Oracle Client Windows XP x86, x64 Windows Vista x86, x64 Windows Server 2003 x86, x64, IA64 Windows Server 2008 x86, x64, IA64 Any platform

Comparisons (Extract) Provider Time (seconds) Rows per second No Type Conversion (Attunity) 343 29154.51895 Conversion to String (Attunity) 327 30581.03976 ADO.Net Provider for Oracle 411 24330.90024 OLEDB Provider for Oracle 476 21008.40336

Mixed Type vs. String Conversion

Convert to string and set the row batch size

Additional resources Microsoft Provider for Oracle by Attunity v 1.1 download SSIS ETL Record – Loaded 1TB in 30 Minutes! Using the Microsoft Connector for Oracle by Attunity with SQL Server 2008 Integration Services Customers are moving data from Oracle to Oracle using the Microsoft Provider for Oracle Codeplex SSIS Community Tasks and Components SSIS Product Behaviour (MSDN)

? Q & A That big question mark is editable – use whatever character you want!

SQL Saturday #83 Johannesburg @ SQL Saturday #83 Johannesburg Get your Oracle data into SQL Server faster! Phlippie Smit (http://www.linkedin.com/in/pfsmit)