oracle to sql server migration process

22

Upload: harirk1986

Post on 09-May-2015

2.909 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Oracle To Sql Server migration process
Page 2: Oracle To Sql Server migration process

<Insert Picture Here>

Database MigrationSQL Server to Oracle11g

Page 3: Oracle To Sql Server migration process

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

Page 4: Oracle To Sql Server migration process

Migration - SQL Server to Oracle11g

• Migration Process• Oracle Migration Workbench• Database Migration Verifier

Page 5: Oracle To Sql Server migration process

Process

1. Migrating Schema and objects

2. Migrating Business Logic

3. Migrating the Clients applications

Page 6: Oracle To Sql Server migration process

Migrating Schema and Objects

• Tables and Data• Primary Keys• Check Constraints• Foreign Keys• Indexes• Views• Groups / Users

• Databases

• Stored Procedures

• Triggers

• Grants

• Rules

• Defaults

• User Defined Types

Migratable Objects in the database

Page 7: Oracle To Sql Server migration process

Migrating the Business Logic

• Primarily in Transact-SQL (T/SQL)• Triggers, Stored Procedures• Conversion to PL/SQL handled by Migration Workbench

• Extended Stored Procedures• Callouts from the database packaged as DLL’s and

written in C,C++• Manual conversion process

• .NET CLR Stored Procedures• Stored procedures written in a .NET language• 10gR2 supports these

Business Logic in the database in SQL Server

Page 8: Oracle To Sql Server migration process

• No big issue if you don’t have any business logic on the client

• Adapt the way how to call the business logic• Managing Resultsets • Adapt the way how to access the database• Error Handling• In some cases need some rewriting

Migrating the Clients applications

Page 9: Oracle To Sql Server migration process

7. Production

2. Assessment

3. Migration

4. Testing

1. Evaluation

5. Optimization

6. Customer Acceptance

8. ProjectSupport

MigrationLifecycle

Migration Tools Support

Page 10: Oracle To Sql Server migration process

Migration - SQL Server to Oracle11g

• Migration Process• SQL Developer Migration Workbench• Database Migration Verifier

Page 11: Oracle To Sql Server migration process

What is the SQL Developer Migration Workbench?

• SQL Developer Migration Workbench:• Is a wizard-driven Java tool• Simplifies the process of migrating third-party databases

to the Oracle platform• Migrates the entire database

schema, including triggers and stored procedures

Page 12: Oracle To Sql Server migration process

Migration Workbench Capabilities

• Migration Workbench enables you to:• Perform the migration in stages using wizards and

scripts• Retrieve source database information via online capture

or an offline capture• Customize work-in-progress database objects in a

repository• Parses and transforms stored procedures, triggers, and

views to Oracle PL/SQL • Monitor the status of the migration via reports and

messages

Page 13: Oracle To Sql Server migration process
Page 14: Oracle To Sql Server migration process

Migration Workbench UI

Page 15: Oracle To Sql Server migration process

Translation Scratch EditorStatement Level Translation

Page 16: Oracle To Sql Server migration process

Translation Diff EditorMatching Statements and Blocks

Page 17: Oracle To Sql Server migration process

T-SQL Editor Code Folding / Syntax Highlighting

Page 18: Oracle To Sql Server migration process

SQL Developer Migration WorkbenchUsing Workbench Within Migrations

1. Capture the source database structure into Source Model (online/offline)

2. Convert to Oracle Model • Create a representation of the structure of the destination

database

3. Migrate the source database• Create the schema online or offline• Transfer the data online or offline

Page 19: Oracle To Sql Server migration process

Migration - SQL Server to Oracle11g

• Migration Process• Oracle Migration Workbench• Database Migration Verifier

Page 20: Oracle To Sql Server migration process

Database Migration Verifier

• Compares schema and data between source and migrated Oracle database

• Supports verification of tables, indexes, function, stored procedures, and triggers, and view objects

• Validates data in migrated Oracle database against source database

• Generates a Verification Report of schema and data verification failures summarized by object name and type

Page 21: Oracle To Sql Server migration process

Database Migration Verifier

• Provides command line tool interface, allowing tool to be seamlessly integrated into existing testing processes

• Provides portable Java application implementation allowing tool to be easily moved between Windows and UNIX environments

• Provides support for Microsoft SQL Server 2000 and Sybase Adaptive Server 12 source databases

Page 22: Oracle To Sql Server migration process

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S