Thread: Migrate from Oracle8i to Oracle10g R3


Permlink Replies: 7 - Pages: 1 - Last Post: Sep 24, 2007 4:40 AM Last Post By: Amardeep Sidhu
Luigi Belli

Posts: 11
Registered: 05/21/07
Migrate from Oracle8i to Oracle10g R3
Posted: Sep 19, 2007 6:02 AM
Click to report abuse...   Click to reply to this thread Reply
Hi fellows,

i've been asked by my company to plan a migration from Oracle8 to an Oracle10g environment.
I wonder how to safely do that and not fall in error during migration days!
Have you any advice on how to easy migrate users, grants, tablespaces, procedures and database settings?
Is better to use plain SQL files to recreate everything on the new environment or use a oracle database dump? Furthermore, is there an oracle tool that I might refer to for my migration?

Thanks in advance,

Luigi Belli
oradba

Posts: 7,814
Registered: 09/15/00
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 19, 2007 6:12 AM   in response to: Luigi Belli in response to: Luigi Belli
Click to report abuse...   Click to reply to this thread Reply
All what you need is documented in the Upgrade Guide, direct upgrade requires at least 8.1.7.4.

http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#sthref52

Werner
sayeed

Posts: 161
Registered: 05/10/03
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 19, 2007 6:16 AM   in response to: Luigi Belli in response to: Luigi Belli
Click to report abuse...   Click to reply to this thread Reply
You should also look at how the optimizer works differently in 10g.
Madrid

Posts: 7,547
Registered: 03/08/99
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 19, 2007 6:17 AM   in response to: Luigi Belli in response to: Luigi Belli
Click to report abuse...   Click to reply to this thread Reply
FYI. The latest Oracle 10g version is 10gR2 with patchset level 3 (10.2.0.3.0). Next release is 11gR1.

~ Madrid

Scott Zheng

Posts: 1,053
Registered: 01/04/06
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 19, 2007 8:07 AM   in response to: Madrid in response to: Madrid
Click to report abuse...   Click to reply to this thread Reply
Good catch!
Gaurav Garg

Posts: 93
Registered: 08/25/07
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 19, 2007 8:13 AM   in response to: Scott Zheng in response to: Scott Zheng
Click to report abuse...   Click to reply to this thread Reply
Don't forget to do extensive application performance testing in QA/DEV databases after migration.Your performance can severely get impacted.
Luigi Belli

Posts: 11
Registered: 05/21/07
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 24, 2007 2:53 AM   in response to: oradba in response to: oradba
Click to report abuse...   Click to reply to this thread Reply
Thanks for your reply folks, but i'm still in trouble with the migration.

I can't understand why the official Upgrade Guide is appointing DBUA as a tool to "migrate" my Oracle8i environment: it seems to me that the DBUA tool is only upgrading my current Oracle8i version to the newest Oracle10g (patch-like), but this is not what I need. I have to literally move data from one Oracle server to another without data loss.
How can I achieve this?
I wish to use a more effective way instead of exp/imp utilities...

Any help?

Thanks,

Luigi Belli
Amardeep Sidhu

Posts: 1,296
Registered: 10/27/06
Re: Migrate from Oracle8i to Oracle10g R3
Posted: Sep 24, 2007 4:36 AM   in response to: Luigi Belli in response to: Luigi Belli
Click to report abuse...   Click to reply to this thread Reply
Hi Luigi

I am also working on similar kind of project. The approach we are following is export/import. But in our case we need to import only structure then data will be inserted using db links at later stage.

I have done some experiments with the approach and it seems to be pretty fine. I tried in 10gr1 and r2. Followed the general approach. Created a new database in 10g. Modified sizes of UNDO,TEMP and USERS tablespaces. Then extracted all the tablespace creation statements by running import with show=Y and created the tablespaces.

Then check your tnsnames.ora to include entries for all the remote databases, so that db links are created successfully and then materialized views, if any, there are.

Also check from the log generated with show=Y, if any user is using TEMP tablespace as its default tablespace. Create this user manually giving USERS or some appropriate tablespace as default, otherwise import would terminate unsuccessfully while trying to create any such user.

Finally run the import with ignore=Y and look for any errors in the log file. This approach worked pretty fine for me. There were only 7-8 errors in a 80 GB database import.

Do remember to increase sizes of UNDO and redo logs.

Sidhu
http://amardeepsidhu.blogspot.com

The best thing will be, if possible, to try out all this for your case, before making the final decision.

Message was edited by:
Sidhu
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums