SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Database
Migration
Oracle11g to
SQL Server
2008/2012
Key Aspects of a Migration
   What is migration?
       Conversion of an existing application environment
        into a new architecture by preserving data and
        functionality of the old architecture
   What are the key components in a migration?
       Schema (table definitions)
       Data (content of tables)
       Application
   What are the major steps in a migration?
       Analysis
       Migration
       Testing
       Deployment
Migration - Oracle11g to SQL Server
     Migration Process
     Data Migration Architecture of SSMA for
      Oracle
     Migrating, emulating and validate data
      using SSMA
Process
1.   Migrating Schema and objects
2.   Migrating Business Logic
3.   Migrating the Clients applications
Migrating Schema and Objects

Migratable Objects in the database
 Tables and Data
 Primary Keys
 Check Constraints
 Foreign Keys
 Indexes
 Views
 Groups / Users
Migratable Objects in the
database
•   Databases
•   Stored Procedures
•   Triggers
•   Grants
•   Rules
•   Defaults
•   User Defined Types
Migrating the Business Logic
Business Logic in the database in SQL Server
   Primarily in Transact-SQL (T/SQL)
        Triggers, Stored Procedures
        Conversion the PL/SQL to SQL handled by SSMA
   Extended Stored Procedures
        Callouts from the database packaged as DLL’s
        Manual conversion process
   .NET CLR Stored Procedures
        Stored procedures written in a .NET language
Migrating the Clients
applications
   Adapt the way how to call the business
    logic
   Managing Result sets
   Adapt the way how to access the
    database
   Error Handling
   In some cases need some rewriting
Migration Tools Support
    8. Project                     2. Assessment
      Support

                 Migration
                 Lifecycle              3. Migration


   6. Customer
   Acceptance                      4. Testing


                 5. Optimization
Migration - Oracle11g to SQL
Server

   Migration Process
   Data Migration Architecture of SSMA for
    Oracle
   Migrating, emulating and validate data
    using SSMA
What is the SSMA?
 The  free Microsoft SQL Server Migration
  Assistant (SSMA) for Oracle speeds the
  migration process.
 SSMA converts Oracle database objects
  (including stored procedures) to
  SQL Server database objects, loads those
  objects into SQL Server, migrates data
  from Oracle to SQL Server, and then
  validates the migration of code and data.
Data Migration Architecture of
SSMA
 Understanding  this mechanism can help
 you set up the proper environment for
 SSMA data migration. It also helps you to
 better control, monitor, and optimize the
 process.
Migration Capabilities
   SSMA enables you to:
         Converts the selected Oracle objects to SQL
          Server syntax, and then creates a report that
          shows how successful the conversion was.
         Converts the selected Oracle objects to SQL
          Server objects.
         Migrates data from the Oracle database to
          SQL Server. Before you must convert the
          Oracle schemas to SQL Server schemas, and
          then load the objects into SQL Server.
Migration Capabilities
     Synchronizes the objects between
      Oracle Metadata Explorer and SQL
      Server Metadata Explorer.
     Creating and working with test cases,
      repository, and backup management
      system.
     Parses and transforms stored procedures,
      triggers, and views to SQL
     Monitor the status of the migration via
      reports and messages
SSMA
1.   Create a new SSMA project.
2.   Connect to the Oracle database server.
3.   Connect to an instance of SQL Server.
4.   Map Oracle database schemas to SQL
     Server database schemas.
5.   Create assessment reports to assess
     database objects for conversion and
     estimate the conversion time.
6.   Convert Oracle database schemas into
     SQL Server schemas.
7.   Load the converted database objects
     into SQL Server.
8.   Migrate data to SQL Server.
Migration - Oracle11g to SQL
Server

   Migration Process
   Data Migration Architecture of SSMA for
    Oracle
   Migrating, emulating and validate data
    using SSMA
Migration Process available
 Data type
 Emulating Oracle System Objects
 Converting Nested PL/SQL Subprograms
 Migrating Oracle User-Defined Functions
 Emulating Oracle Packages
 Simulating Oracle Transactions
Migration Process
   Compares schema and data between
    source and migrated SQL database
   Supports verification of tables, indexes,
    function, stored procedures, and triggers, and
    view objects
   Validates data in migrated SQL database
    against source database
   Generates a Report of schema and data
    verification failures summarized by object
    name and type
Conclusions
   This migration guide covers the differences
    between Oracle and SQL Server 2008 database
    platforms, and it includes the steps necessary to
    convert an Oracle database to SQL Server.
    It explains the algorithms that SSMA for Oracle
    uses to perform this conversion so that you can
    better understand the processes that are
    executed when you run the SSMA Convert
    Schema and Migrate Data commands.
   For those cases when SSMA does not handle a
    particular migration issue, approaches to manual
    conversion are included.

Weitere ähnliche Inhalte

Was ist angesagt?

Architecture of integration services
Architecture of integration servicesArchitecture of integration services
Architecture of integration servicesSlava Kokaev
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilityDan English
 
Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000ukdpe
 
Introduction of ssis
Introduction of ssisIntroduction of ssis
Introduction of ssisdeepakk073
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration ServicesRobert MacLean
 
SQL Server 2016 new features
SQL Server 2016 new featuresSQL Server 2016 new features
SQL Server 2016 new featuresSpanishPASSVC
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration ServicesRobert MacLean
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Eduardo Castro
 
MS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data miningMS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data miningDataminingTools Inc
 
Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Anurag Rana
 
1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSISPramod Singla
 
05 SSIS Control Flow
05 SSIS Control Flow05 SSIS Control Flow
05 SSIS Control FlowSlava Kokaev
 
Sql server 2016 new features
Sql server 2016 new featuresSql server 2016 new features
Sql server 2016 new featuresAjeet Singh
 
Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Skillwise Group
 
SQL Server 2008 New Features
SQL Server 2008 New FeaturesSQL Server 2008 New Features
SQL Server 2008 New FeaturesDan English
 
ABCs of CDC with SSIS 2012
ABCs of CDC with SSIS 2012ABCs of CDC with SSIS 2012
ABCs of CDC with SSIS 2012Steve Wake
 
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Eduardo Castro
 

Was ist angesagt? (20)

Architecture of integration services
Architecture of integration servicesArchitecture of integration services
Architecture of integration services
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise Manageability
 
Ssis 2008
Ssis 2008Ssis 2008
Ssis 2008
 
Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000
 
Introduction of ssis
Introduction of ssisIntroduction of ssis
Introduction of ssis
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
 
SQL Server 2016 new features
SQL Server 2016 new featuresSQL Server 2016 new features
SQL Server 2016 new features
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2
 
MS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data miningMS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data mining
 
Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)
 
1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS
 
05 SSIS Control Flow
05 SSIS Control Flow05 SSIS Control Flow
05 SSIS Control Flow
 
SSIS control flow
SSIS control flowSSIS control flow
SSIS control flow
 
Sql server 2016 new features
Sql server 2016 new featuresSql server 2016 new features
Sql server 2016 new features
 
Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1
 
SQL Server 2008 New Features
SQL Server 2008 New FeaturesSQL Server 2008 New Features
SQL Server 2008 New Features
 
ABCs of CDC with SSIS 2012
ABCs of CDC with SSIS 2012ABCs of CDC with SSIS 2012
ABCs of CDC with SSIS 2012
 
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2
 
MS SQL SERVER 2012
MS SQL SERVER 2012MS SQL SERVER 2012
MS SQL SERVER 2012
 

Andere mochten auch

Microsoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations PresentationMicrosoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations PresentationMicrosoft Private Cloud
 
Agile Methodology - Data Migration v1.0
Agile Methodology - Data Migration v1.0Agile Methodology - Data Migration v1.0
Agile Methodology - Data Migration v1.0Julian Samuels
 
Migrating Fast to Solr
Migrating Fast to SolrMigrating Fast to Solr
Migrating Fast to SolrCominvent AS
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architectureAjeet Singh
 
Preparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guidePreparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guideETLSolutions
 

Andere mochten auch (7)

Microsoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations PresentationMicrosoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations Presentation
 
Agile Methodology - Data Migration v1.0
Agile Methodology - Data Migration v1.0Agile Methodology - Data Migration v1.0
Agile Methodology - Data Migration v1.0
 
Data migration
Data migrationData migration
Data migration
 
Migrating Fast to Solr
Migrating Fast to SolrMigrating Fast to Solr
Migrating Fast to Solr
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
 
Preparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guidePreparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guide
 
AWS Migration Planning Roadmap
AWS Migration Planning RoadmapAWS Migration Planning Roadmap
AWS Migration Planning Roadmap
 

Ähnlich wie Database migration

Introduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration ServicesIntroduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration ServicesQuang Nguyễn Bá
 
Resume_Navneet_Formatted
Resume_Navneet_FormattedResume_Navneet_Formatted
Resume_Navneet_FormattedNavneet Tiwari
 
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...cscpconf
 
Sql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scaleSql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scaleKlaudiia Jacome
 
Rock Solid SQL Server Management
Rock Solid SQL Server ManagementRock Solid SQL Server Management
Rock Solid SQL Server ManagementTony Bain
 
Dipankar resume 2.0 (1)
Dipankar resume 2.0 (1)Dipankar resume 2.0 (1)
Dipankar resume 2.0 (1)Dipankar Banik
 
New_Elechi_DBA_12c
New_Elechi_DBA_12cNew_Elechi_DBA_12c
New_Elechi_DBA_12cElechi Wordu
 
World2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewWorld2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewFarah Omer
 
Oracle Forms to APEX conversion tool
Oracle Forms to APEX conversion toolOracle Forms to APEX conversion tool
Oracle Forms to APEX conversion toolScott Wesley
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql databasePARIKSHIT SAVJANI
 
Sql Server 2005 Business Inteligence
Sql Server 2005 Business InteligenceSql Server 2005 Business Inteligence
Sql Server 2005 Business Inteligenceabercius24
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceJavier Villegas
 
Datastage to ODI
Datastage to ODIDatastage to ODI
Datastage to ODINagendra K
 
durga_resume
durga_resumedurga_resume
durga_resumedurga p
 

Ähnlich wie Database migration (20)

Introduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration ServicesIntroduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration Services
 
Resume_Navneet_Formatted
Resume_Navneet_FormattedResume_Navneet_Formatted
Resume_Navneet_Formatted
 
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
 
Sql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scaleSql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scale
 
Rock Solid SQL Server Management
Rock Solid SQL Server ManagementRock Solid SQL Server Management
Rock Solid SQL Server Management
 
Dipankar resume 2.0 (1)
Dipankar resume 2.0 (1)Dipankar resume 2.0 (1)
Dipankar resume 2.0 (1)
 
New_Elechi_DBA_12c
New_Elechi_DBA_12cNew_Elechi_DBA_12c
New_Elechi_DBA_12c
 
World2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewWorld2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverview
 
Module01
Module01Module01
Module01
 
James Henry Robinson
James Henry RobinsonJames Henry Robinson
James Henry Robinson
 
James Henry Robinson
James Henry RobinsonJames Henry Robinson
James Henry Robinson
 
Resume_of_sayeed
Resume_of_sayeedResume_of_sayeed
Resume_of_sayeed
 
Oracle Forms to APEX conversion tool
Oracle Forms to APEX conversion toolOracle Forms to APEX conversion tool
Oracle Forms to APEX conversion tool
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql database
 
Sql Server 2005 Business Inteligence
Sql Server 2005 Business InteligenceSql Server 2005 Business Inteligence
Sql Server 2005 Business Inteligence
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 
Datastage to ODI
Datastage to ODIDatastage to ODI
Datastage to ODI
 
durga_resume
durga_resumedurga_resume
durga_resume
 
Vijaya_Lakshmi_Resume1
Vijaya_Lakshmi_Resume1Vijaya_Lakshmi_Resume1
Vijaya_Lakshmi_Resume1
 
Jacob Keecheril
Jacob KeecherilJacob Keecheril
Jacob Keecheril
 

Database migration

  • 2. Key Aspects of a Migration  What is migration?  Conversion of an existing application environment into a new architecture by preserving data and functionality of the old architecture  What are the key components in a migration?  Schema (table definitions)  Data (content of tables)  Application  What are the major steps in a migration?  Analysis  Migration  Testing  Deployment
  • 3. Migration - Oracle11g to SQL Server  Migration Process  Data Migration Architecture of SSMA for Oracle  Migrating, emulating and validate data using SSMA
  • 4. Process 1. Migrating Schema and objects 2. Migrating Business Logic 3. Migrating the Clients applications
  • 5. Migrating Schema and Objects Migratable Objects in the database  Tables and Data  Primary Keys  Check Constraints  Foreign Keys  Indexes  Views  Groups / Users
  • 6. Migratable Objects in the database • Databases • Stored Procedures • Triggers • Grants • Rules • Defaults • User Defined Types
  • 7. Migrating the Business Logic Business Logic in the database in SQL Server  Primarily in Transact-SQL (T/SQL)  Triggers, Stored Procedures  Conversion the PL/SQL to SQL handled by SSMA  Extended Stored Procedures  Callouts from the database packaged as DLL’s  Manual conversion process  .NET CLR Stored Procedures  Stored procedures written in a .NET language
  • 8. Migrating the Clients applications  Adapt the way how to call the business logic  Managing Result sets  Adapt the way how to access the database  Error Handling  In some cases need some rewriting
  • 9. Migration Tools Support 8. Project 2. Assessment Support Migration Lifecycle 3. Migration 6. Customer Acceptance 4. Testing 5. Optimization
  • 10. Migration - Oracle11g to SQL Server  Migration Process  Data Migration Architecture of SSMA for Oracle  Migrating, emulating and validate data using SSMA
  • 11. What is the SSMA?  The free Microsoft SQL Server Migration Assistant (SSMA) for Oracle speeds the migration process.  SSMA converts Oracle database objects (including stored procedures) to SQL Server database objects, loads those objects into SQL Server, migrates data from Oracle to SQL Server, and then validates the migration of code and data.
  • 12. Data Migration Architecture of SSMA  Understanding this mechanism can help you set up the proper environment for SSMA data migration. It also helps you to better control, monitor, and optimize the process.
  • 13. Migration Capabilities  SSMA enables you to:  Converts the selected Oracle objects to SQL Server syntax, and then creates a report that shows how successful the conversion was.  Converts the selected Oracle objects to SQL Server objects.  Migrates data from the Oracle database to SQL Server. Before you must convert the Oracle schemas to SQL Server schemas, and then load the objects into SQL Server.
  • 14. Migration Capabilities  Synchronizes the objects between Oracle Metadata Explorer and SQL Server Metadata Explorer.  Creating and working with test cases, repository, and backup management system.  Parses and transforms stored procedures, triggers, and views to SQL  Monitor the status of the migration via reports and messages
  • 15. SSMA 1. Create a new SSMA project. 2. Connect to the Oracle database server. 3. Connect to an instance of SQL Server. 4. Map Oracle database schemas to SQL Server database schemas. 5. Create assessment reports to assess database objects for conversion and estimate the conversion time. 6. Convert Oracle database schemas into SQL Server schemas. 7. Load the converted database objects into SQL Server. 8. Migrate data to SQL Server.
  • 16. Migration - Oracle11g to SQL Server  Migration Process  Data Migration Architecture of SSMA for Oracle  Migrating, emulating and validate data using SSMA
  • 17.
  • 18. Migration Process available  Data type  Emulating Oracle System Objects  Converting Nested PL/SQL Subprograms  Migrating Oracle User-Defined Functions  Emulating Oracle Packages  Simulating Oracle Transactions
  • 19. Migration Process  Compares schema and data between source and migrated SQL database  Supports verification of tables, indexes, function, stored procedures, and triggers, and view objects  Validates data in migrated SQL database against source database  Generates a Report of schema and data verification failures summarized by object name and type
  • 20. Conclusions  This migration guide covers the differences between Oracle and SQL Server 2008 database platforms, and it includes the steps necessary to convert an Oracle database to SQL Server.  It explains the algorithms that SSMA for Oracle uses to perform this conversion so that you can better understand the processes that are executed when you run the SSMA Convert Schema and Migrate Data commands.  For those cases when SSMA does not handle a particular migration issue, approaches to manual conversion are included.

Hinweis der Redaktion

  1. Evaluation of Migration RequirementsUnderstand your business requirementsDevelop a migration plan aligned with your strategic goalsInclude optional services such as education, performance tuning Assessment of Application SystemDelivery of application system to SQLAssessment of the database and/or applicationAssessment report and statement of workMigrationMigration of database and/or applicationMigration reportImprovement and Optimization (optional)Adoption of key SQL technology and features Performance tuningImplementation of operational procedures such as back up and recovery, database re-organization, and active monitoringCustomer Acceptance TestingPerform a full system test to confirm that the migrated application behaves as expectedNotify SQL that the application is accepted or of any issuesProductionApplication system goes live on the SQL platform!Project Post MortemYou provide feedback to SQL about the migration projectSQL ensures you have everything you require to make the migration a success
  2. SQL Server Migration Assistant (SSMA) for Oracle is a comprehensive environment that helps you quickly migrate Oracle databases to SQL Server. By using SSMA for Oracle, you can review database objects and data, assess databases for migration, migrate database objects to SQL Server, and then migrate data to SQL Server. Note that you cannot migrate SYS and SYSTEM Oracle schemas.