• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3257
  • Last Modified:

Migration Oracle 9i to 10g

Currently I am using Oracle and planning to upgrade it to Oracle 10g.

Please help me to get migration process steps.
2 Solutions
Best way is to backup your databases. Uninstall oracle 9 and install 10g.
Once you have done this you create your instances again and import the Oracle 9 databases. As they import they will be automatically upgraded to Oracle 10g.
Is this a small database? Please let us know the size.

I recommend an export as this is always the simplest, cleanest way to migrate and avoids upgrading the source database directly, in case you need to revert back quickly.

Possible options:

1) a) Full export (exp system/manager full=y file=old.dmp)
    b) Install 10g in a new Oracle Home, install patches too
    c) Create a brand new 10g instance and database
    d) Pre-create needed users and tablespaces (can be listed from the old 9i)
    e) Import the individual users using schema level import per user
             imp system/manager fromuser=fred touser=fred file=old.dmp

2) Upgrade in place (disadvantage is you will no longer have the 9i database running live, once it migrates to 10g
   a) Choose either the DBUA (Upgrade Assistant): read docs
   b) Read the manual upgrade guide


In ALL cases, FULL BACKUP your database before starting anything!
>>Uninstall oracle 9

No this not a good idea and is not the way it is done. You NEVER uninstall the old binaries during the upgrade! Dangerous advice.

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

schwertnerCommented: is a bugy database. Migrate it first to the at least.
After that use the Export/Import way.
Set the NLS_LANG parameter on both sides.
Try to investigate the nonsystem tablespaces and users.
Preferably you will use schema level export and import.
It needs to precreate the nonsystem users and tablespaces.
Investigate migration part by part - application by application (if relevant and possible).
Biju1149Author Commented:
Database size is 3 GB
If it is 3GB then possibly Export/Import file will hit the 2 GB frontier.
So use many smaller files if you chose to use Export and
pay attention to NLS_LANG enviroment parameter in order to not lose
the nonEnglish letters
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now