From oracle-l-bounce@freelists.org Wed Mar 10 18:08:00 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i2B07w328054 for ; Wed, 10 Mar 2004 18:07:58 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i2B07vo28049 for ; Wed, 10 Mar 2004 18:07:58 -0600 Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 619A5395106; Wed, 10 Mar 2004 19:07:24 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 10 Mar 2004 19:06:11 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from ddbcinc.com (unknown [216.222.6.50]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D87E9394BE3 for ; Wed, 10 Mar 2004 19:06:08 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis Subject: RE: DB2 to Oracle migration Date: Wed, 10 Mar 2004 17:14:27 -0700 Message-ID: <87E9F113CEF1D211A4C3009027301874195D2D@ddbcinc.ddbc.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DB2 to Oracle migration thread-index: AcQG+0xwGflWTkJNROaJiQvPiFgXbQAAShPg From: "Justin Cave (DDBC)" To: X-archive-position: 417 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: jcave@ddbcinc.com Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l How much data are you talking about moving? What sort of window do you have to move the data? I'm assuming that you will be shutting down the DB2 database, migrating the data, and then bringing up the Oracle database-- how long can the system be unavailable? How close are the two schemas structurally? If they are radically different, Migration Workbench is probably a bad idea. ASCII files are a good option, but that will involve writing all the data to disk, copying it around the network, loading it into the database, and manipulating the data into the new schema. That's a lot of copying if there is a lot of data or a small window. You may be able to move more data more quickly if you set up Heterogeneous Services and create a database link to the DB2 database from Oracle-- that would also let you do the transformation processing in parallel. From a setup and configuration perspective, however, this will be more work than text file extracts. Justin Cave Distributed Database Consulting, Inc. http://www.ddbcinc.com/askDDBC -----Original Message----- From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Birkir Bjornsson Sent: Wednesday, March 10, 2004 4:49 PM To: oracle-l@freelists.org Subject: Re: DB2 to Oracle migration Hi Justin Thanks for your response. Well Im migrating the database only once. The thing is that I have to extract the data from DB2 to an already made schema in Oracle. So could I use Oracle Migration Workbench, or should I just make an ASCI file with the data from DB2 and use SQLLoader to insert it to Oracle. What would you say is the easiest way? Or do you have some other hint for me? Thanks in advance Kind Regards -Bippi Justin Cave (DDBC) wrote: >Is the question about a one-time migration, i.e. moving an application that is currently accessing DB2 to access Oracle, in which case the Oracle Migration Workbench is probably a good first step? Or is the question about regularly migrating data from DB2 to Oracle, i.e. replication, in which case Heterogeneous Connectivity would be a good approach? > >If the question is the former-- a complete move from one database to another-- be aware that you will probably have to invest a significant amount of time after the Migration Workbench moves the code to Oracle to get equivalent performance from Oracle. In general, applications are going to do things that work really well in one database but that aren't appropriate in another database. Migration Workbench will do a relatively dumb conversion of the code, which is fine for 60% of the cases, but you'll have to manually fix up the other 40%. > >Justin Cave >Distributed Database Consulting, Inc. >http://www.ddbcinc.com/askDDBC > >-----Original Message----- >From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Birkir Bjornsson >Sent: Wednesday, March 10, 2004 7:40 AM >To: oracle-l@freelists.org >Subject: DB2 to Oracle migration > >Hi > >I have to migrate a DB2 database to Oracle and was wondering if any of >you have ever done it and have some hints >for me. > > >Thanks in advance >Bippi > >---------------------------------------------------------------- >Please see the official ORACLE-L FAQ: http://www.orafaq.com >---------------------------------------------------------------- >To unsubscribe send email to: oracle-l-request@freelists.org >put 'unsubscribe' in the subject line. >-- >Archives are at http://www.freelists.org/archives/oracle-l/ >FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html >----------------------------------------------------------------- > > >---------------------------------------------------------------- >Please see the official ORACLE-L FAQ: http://www.orafaq.com >---------------------------------------------------------------- >To unsubscribe send email to: oracle-l-request@freelists.org >put 'unsubscribe' in the subject line. >-- >Archives are at http://www.freelists.org/archives/oracle-l/ >FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html >----------------------------------------------------------------- > > ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------