Data Migration
description
Transcript of Data Migration
![Page 1: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/1.jpg)
Copyright 2003 Accenture. All rights reserved. Accenture, its logo, and Accenture Innovation Delivered are trademarks of Accenture.
Data Migration in Oracle E-Business Suite
OAUG Paris, June 18, 2004Trond [email protected]
![Page 2: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/2.jpg)
Project Scenario
Challenges:• Tight deadlines• 5-15 Environments• Squeezed time for migration activities• Numerous legacy systems to integrate with• 100% quality requirement
![Page 3: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/3.jpg)
Agenda
• Introduction • Migration to Oracle
– Migration to Oracle – using open interface / API– Migration to Oracle – Oracle Utilities– Migration to Oracle – Third party tools
• Migration from Oracle
![Page 4: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/4.jpg)
Introduction: Migration scenarios
Data migration: moving data from one database to another.
Types of migration:• Migrating in an upgrade process• Migrating legacy data in a new implementation• Migrating between CRP, Test and Prod instances• Propagating master reference data
![Page 5: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/5.jpg)
Introduction: Types of Data
• Setup Data (Application Object Library (AOL) data)– Profiles– Flexfield definitions
• Master Data– Items– Customers
• Transaction Data– Purchase Orders– Invoices
![Page 6: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/6.jpg)
Agenda
• Introduction • Migration to Oracle
– Migration to Oracle – using open interface / API– Migration to Oracle – Oracle Utilities– Migration to Oracle – Third party tools
• Migration from Oracle
![Page 7: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/7.jpg)
Migration to Oracle
Supported:- Entering data via the UI- Using Open Interfaces / API’s- Using Oracle data migration utilities
Not supported:- Direct manipulation of the data in the database.
![Page 8: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/8.jpg)
Agenda
• Introduction • Migration to Oracle
– Migration to Oracle – using open interface / API– Migration to Oracle – Oracle Utilities– Migration to Oracle – Third party tools
• Migration from Oracle
![Page 9: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/9.jpg)
Migration to Oracle – using open interface / API
Sample usage of open interfaces for conversion purpose:
3-step process:• Load: Get the data from the flat file into the staging table• Validate: Assess the quality of the data by calculating and
evaluating metrics.• Transfer: Insert data into interface table / call APIs with
values in staging table
Run the conversion programs in the E-Business Suite for security / accessability / traceability.
![Page 10: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/10.jpg)
Migration to Oracle – using open interface / API
Load program: generic shell script taking name of SQL*Loader control file as parameter.
Validate program: 1 per interface.
Transfer program: 1 per interface.
Staging tables Core tables
SQL*Loader API’s
![Page 11: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/11.jpg)
Agenda
• Introduction • Migration to Oracle
– Migration to Oracle – using open interface / API– Migration to Oracle – Oracle Utilities– Migration to Oracle – Third party tools
• Migration from Oracle
![Page 12: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/12.jpg)
FNDLOAD
Usage: OA Instance OA InstanceSetup Master Transactional
Extract Import
• Moves OA data between database and text file representations. • Can be modified with any editor• Use to synchronize databases during new installations or maintenance.• Good for moving data between test and prod instances, e.g. in upgrade
projects.• Command-line based tool, requires technically skilled personell to execute• No cost, well documented.
Migration to Oracle – Oracle Utilities
![Page 13: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/13.jpg)
Migration to Oracle – Oracle Utilities
FNDLOAD
An example of downloading is:
FNDLOAD apps/apps@devdb 0 Y DOWNLOAD testcfg.lct out.ldt
FND_APPLICATION_TL APPSNAME=FND
An example of uploading is:
FNDLOAD apps/apps@custdb 0 Y UPLOAD fndapp.lct fnd1234.ldt –
Oracle Applications System Administrator’s Guide, Appendix C
![Page 14: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/14.jpg)
iSetup
Usage: OA Instance OA InstanceSetup Master Transactional
Extract Import
• Load original configuration multiple times• Load modified configuration• Load extract• Load subset of extract
Migration to Oracle – Oracle Utilities
iSetup.oracle.com Central instance
Target instance
iSetup Configurator iSetup MigratoriSetup Reporter
![Page 15: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/15.jpg)
iSetup
Typical scenario:1. Configurator -> CRP2. Migrator -> Systemtest3. Migrator -> Production
- Complete or partial collection of data- Copy data within the same instance (e.g. from one OU to
another)
http://isetup.oracle.com, Oracle iSetup User Guide
Migration to Oracle – Oracle Utilities
![Page 16: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/16.jpg)
ADI
Usage: Anything OA InstanceSetup Master Transactional
Extract Import
• ADI is a spreadsheet-based extension of Oracle Applications.• Limited to GL and FA data• Import Text File feature to simplify work with Oracle Assets. (Assets and
physical inventory).
Applications Desktop Integrator User’s Guide
Migration to Oracle – Oracle Utilities
![Page 17: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/17.jpg)
Agenda
• Introduction • Migration to Oracle
– Migration to Oracle – using open interface / API– Migration to Oracle – Oracle Utilities– Migration to Oracle – Third party tools
• Migration from Oracle
![Page 18: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/18.jpg)
DataLoad Classic
Usage: Anything OA InstanceSetup Master Transactional
Extract Import
• Automated loading using copy & paste• If there is a form for it, DataLoad can insert data into it• Freeware, no support• Quick and easy• Not suitable for large volume loads, ‘out of sync’ problem.
http://www.dataload.net/
Migration to Oracle – Third party tools
![Page 19: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/19.jpg)
DataLoad Professional
Usage: Anything OA InstanceSetup Master Transactional
Extract Import
• Automated secure loading• Fast because load is processed on the middle tier• Inexpensive• Requires some technical skills• Suitable for medium volumes• Rerun load multiple times in test environment until 100% successful.
http://www.dataload.net/
Migration to Oracle – Third party tools
![Page 20: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/20.jpg)
Mercury WinRunner
Usage: Anything OA InstanceSetup Master Transactional
Extract Import
• A testing tool, but has functionality that makes it suitable for automating data load
• Work similarly to DataLoad Classic, but more reliable.• Records keystrokes and creates playback script for you.• Expensive• If you have it for testing, might as well use it for migration too.
http://www.mercury.com/us/products/quality-center/functional-testing/winrunner/
Migration to Oracle – Third party tools
![Page 21: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/21.jpg)
Mercury Object Migrator
Usage: OA Instance OA InstanceSetup Master Transactional
Extract Import
• Utilizes FNDLOAD• Runs as a concurrent program within OA• Version control, reporting capabilities, rollback functionality• Useful if you have to synchronize lots of instances or require elaborate version
control.
http://www.mercury.com/us/products/it-governance-center/change-management/extensions/object-migrator.html
Migration to Oracle – Third party tools
![Page 22: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/22.jpg)
Various adapters / connectors
Usage: Anything AnythingSetup Master Transactional
Extract Import
Insevo (formerly Taviz)
Librados
iWay Software
• Bi-directional connectivity• Any application, any platform, any data structure, any message type• Reduced risk
http://wwws.sun.com/software/connectors/
Migration to Oracle – Third party tools
![Page 23: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/23.jpg)
Agenda
• Introduction • Migration to Oracle
– Migration to Oracle – using open interface / API– Migration to Oracle – Oracle Utilities– Migration to Oracle – Third party tools
• Migration from Oracle
![Page 24: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/24.jpg)
Migration from Oracle
Make your own customized outbound interfaces using
Materialized views
- Customizations must be non-invasive- Complete control- Several pitfalls:
- A change in any column in any table, even if it not selected in the MV definition, will lead to refresh of the MV
- Cannot distinguish between inserts and updates of the MV- Triggers work differently on MV’s than regular tables
![Page 25: Data Migration](https://reader035.fdocuments.net/reader035/viewer/2022062309/55cf949b550346f57ba3295f/html5/thumbnails/25.jpg)
Migration from Oracle
Business Event System
- Most significant events are predefined- Define your own events- Elegant way to trigger workflow activities / custom logic- Non-invasive