Oracle To Sql Server migration process
-
Upload
harirk1986 -
Category
Technology
-
view
2.892 -
download
3
Transcript of Oracle To Sql Server migration process
![Page 1: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/1.jpg)
![Page 2: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/2.jpg)
<Insert Picture Here>
Database MigrationSQL Server to Oracle11g
![Page 3: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/3.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/4.jpg)
Migration - SQL Server to Oracle11g
• Migration Process• Oracle Migration Workbench• Database Migration Verifier
![Page 5: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/5.jpg)
Process
1. Migrating Schema and objects
2. Migrating Business Logic
3. Migrating the Clients applications
![Page 6: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/8.jpg)
• 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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/9.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/10.jpg)
Migration - SQL Server to Oracle11g
• Migration Process• SQL Developer Migration Workbench• Database Migration Verifier
![Page 11: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/11.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/13.jpg)
![Page 14: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/14.jpg)
Migration Workbench UI
![Page 15: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/15.jpg)
Translation Scratch EditorStatement Level Translation
![Page 16: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/16.jpg)
Translation Diff EditorMatching Statements and Blocks
![Page 17: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/17.jpg)
T-SQL Editor Code Folding / Syntax Highlighting
![Page 18: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/18.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/19.jpg)
Migration - SQL Server to Oracle11g
• Migration Process• Oracle Migration Workbench• Database Migration Verifier
![Page 20: Oracle To Sql Server migration process](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/20.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/21.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081417/554d56e7b4c905f6388b498e/html5/thumbnails/22.jpg)
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