Home > Ask the Oracle Experts > Questions & Answers
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Migrating data from DB2 to 9i

Karen Morton EXPERT RESPONSE FROM: Karen Morton

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site
>
QUESTION POSED ON: 10 February 2003
We are working on a data migration project that requires data to be transferred from DB2 to Oracle 9i. The two ways we could think of are:
  1. Create flat files from DB2 and then load it to Oracle 9i.
  2. Use a tool to convert DB2 data to Oracle 8i, and then use SQL queries to populate into 9i. (The data model is being changed in Oracle 9i.)
Could you suggest any other solution, or suggest which of the above two is more efficient?

>
EXPERT RESPONSE

I'd suggest that you look into Oracle's Heterogeneous Services. Here's an excerpt from the Oracle 9.2 Heterogeneous Connectivity Administrator's Guide:

"Generic Connectivity is intended for low-end data integration solutions requiring the ad hoc query capability to connect from an Oracle database server to non-Oracle database systems. Generic Connectivity is enabled by Oracle's Heterogeneous Services component, allowing you to connect to non-Oracle systems with improved performance and throughput.

Generic Connectivity is implemented as either a Heterogeneous Services ODBC agent or a Heterogeneous Services OLE DB agent. An ODBC agent and OLE DB agent are included as part of your Oracle system. Be sure to use the agents shipped with your particular Oracle system, installed in the same $ORACLE_HOME.

Any data source compatible with the ODBC or OLE DB standards described in this chapter can be accessed using a Generic Connectivity agent."

This would be the "tool" you noted in way #2 of your question.

The other option you listed in #1 could be implemented by using SQL*Loader.

The determining factors should likely be the size of your database that you are migrating and which method feels most comfortable to you to implement. Since this is going to be a one-time shot (at least that's what I'm assuming), I wouldn't spend hours trying to figure out which method would take 30 minutes less! Either way you mention will work satisfactorily.

Good luck!

For More Information


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts