Ask the Expert

Migrating/upgrading Oracle database from Unix to Linux

I want to migrate an Oracle 7.3 Unix database to Oracle10g on RedHat Linux without losing any data. How to migrate the database? Please tell me the steps.

    Requires Free Membership to View

Since you are going from Oracle 7 to 10g and changing operating systems, the best method is to use Oracle's export and import utilities. To ensure no data loss, you will want to ensure no one is making changes when you take your export. The following steps outline the basic premise of this upgrade plan:
  1. Shut down the Oracle 7 database.
  2. STARTUP RESTRICT the Oracle 7 database to ensure no one has access to the database.
  3. Perform a full export of the Oracle 7 database:
       exp userid=system file=my_dump.dmp full=y
  4. On the new server, precreate your Oracle 10g database.
  5. FTP the dump file, in binary mode, to the new database server.
  6. On the new database, precreate any users and tablespaces that you will need.
  7. Import the entire dump file:
       imp userid=system file=my_dump.dmp full=y
The export/import utilities will perform the upgrade for you.

This was first published in January 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: