Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Summary:
I need to migrate the existing databases from 8.1.6 to 9i. The migration will go accross two
different machines. We're not upgrading an existing server, we're going from scratch. What's the
course of action to follow?
Full Article:
Disclaimer: Contents are not reviewed for correctness and are not endorsed or recommended by
ITtoolbox or any vendor. Popular Q&A contents include summarized information from ITtoolbox
Oracle DB discussion unless otherwise noted.
5. Use servermanager (check the name to use for your version of oracle) or sqlplus (version 9i
and above) to startup the database in mount mode.
Do
CONNECT INTERNAL/
then
STARTUP MOUNT
Then do a rename of the copied datafiles if they are not in the same path as on the other
machine. For all the files that are in the result of the query:newfullpath>\';
SELECT NAME FROM V$DATAFILE;
do
ALTER DATABASE RENAME FILE '\' to <
6. Query the datadictionary for the old location of the redolog files using:
SELECT MEMBER FROM V$LOGFILE;
If the new place is not the same as the old do:
ALTER DATABASE RENAME FILE '\' to &
lt;newfullpath>\';
7. Now open the database:
ALTER DATBASE OPEN;