You basically have three choices for upgrading your database. Because you are also changing platforms, you are somewhat limited in how you can upgrade your database.
- Export/import
Create an Oracle 10g database on your Linux server, export your Oracle9i database, FTP the .dmp file over to the Linux server and import it into your newly created database.
- Create Table As Select (CTAS) via a database link
Create an Oracle 10g database on your Linux server and create a database link from the Oracle 10g database to the Oracle9i database. Run 'create table as select …' statements to create your tables with the data in the Oracle 10g database. Remember to also create any required indexes, constraints and referential integrity.
- Use Oracle 10g cross-platform transportable tablespaces
If you are running HPUX 11.0, 11.11 or 11.23 you can install Oracle 10gR2 on your HPUX server, upgrade your database in place, and then use the new cross-platform transportable tablespaces feature to move your database to your Linux server. Both HPUX and Linux are supported platforms (you can query the view V$TRANSPORTABLE_PLATFORM to see supported platforms) but they are of different endianness. HPUX is big endian while Linux is little endian so there is an additional step involved to convert the tablespaces being transported on either the source or target side.
To read more about the cross-platform transportable tablespace feature, download the Oracle Database Administrator's Guide 10g (release 10.2) from Oracle Technology Network.
You should also review the Oracle Database 10g Release 2 (10.2) Upgrade Guide.
|