Re: migration from oracle 8i to 9i
From: Ravinder Bhalla <ravinderbhalla_at_comcast.net>
Date: 22 Nov 2003 10:18:46 -0800
Message-ID: <d0d7639a.0311221018.4987e0b0_at_posting.google.com>
Date: 22 Nov 2003 10:18:46 -0800
Message-ID: <d0d7639a.0311221018.4987e0b0_at_posting.google.com>
"Anna C. Dent" <anacdent_at_hotmail.com> wrote in message news:<YdKvb.13271$kl6.4033_at_fed1read03>...
> susmita_ganguly_at_yahoo.com wrote:
> > Hi
> >
> > I am trying to upgrade from oracle 8i to oracle 9i on the same server
> > .I don't know much abt migration .
> >
> > Can anyone help me out.
>
> Go RTFM on dbua
Perform the following steps
- Check for Vesions and Options
- Perform COLD Backup
- Increase SYSTEM rollback segment size and ensure plenty space free in ROLLBACK segments
- Check o/s level patch and check certification i.e. showrev -p
- List all INVALID objects before upgrade
- Ensure SID and ORACLE_HOME set properly.
- Ensure no user or role as MIGRATE and OUTLN exists ( if migrating from 8.0.6)
- Check no corruption in sys dictionary. Prepare a script 'ANALYZE ' || object_name || ' valid structure ;' where owner = 'SYS'
- Stop Replication and ensure all snapshots refreshes complete.
- Stop Listner
- Ensure no files need media recovery: v$recover_file
- Ensure no files are in backup mode: v$backup
- Resolve any outstanding unresolved distributed transaction: dba_2pc_pending ( dbms_transaction.purge_lost_db_entry('local_trans_id') )
- Disable all bacth and cronjobs task.
- Note Down all controlfile location and sysdba users: v$pwfile_users
- Shutdown DB
- Backup of init.ora , listener.ora and tnsnames.ora and needs few changes in init.ora file job_queue_process=0 _SYSTEM_TRIG_ENABLED=FALSE unset COMPATIABLE REMOTE_LOGIN_PASSWORDFILE=NONE (if using password file)
- update oratab entry with new ORACLE_HOME
- update environment variable
- ORACLE_HOME
- PATH
- ORA_NLS33
- ORACLE_BASE
- LD_LIBRARY_PATH
- ORACLE_PATH
- Run Upgrade script : cd $ORACLE_HOME/rdbms/admin Sqlplus /as sysdba startup restrict or startup migrate _at_u0801070.sql or u0900010.sql
- Run _at_utlrp
- Shutdown immediate
- Modify Listner.ora with new ORACLE_HOME
- Enable cronjob and batch
- Change oratab entry
- Start the Database