Linux (RHEL5) Oracle10g version upgrade (10.2.0.1.0-10.2.0.5.0) Operating document system environment: RHEL5 document version: V1.0.1 finishing: Kevin. lu updated on: Remarks: Upgrade ORACLE_10g_10.2.0.1.0 to 10.2.0.5.0 In the DBA dedicated directory Linux (RHEL5 )... 1 directory... 21. document update records... 32.
Oracle 10g upgrade (10.2.0.1.0-10.2.0.5.0) in Linux (RHEL5)
System Environment: RHEL5
Document version: V1.0.1
Summary: Kevin. Lu
Last Updated:
Remarks: DBA-specific
Directory
Upgrade ORACLE_10g_10.2.0.1.0 to 10.2.0.5.0 in Linux (RHEL5 ).
Directory... 2
1. Document update record... 3
2. document description... 3
3. Preparations before the upgrade:... 4
3.1.1. temporarily increase the size of the shared pool and java pool... 4
3.1.2. Back up oracle software and database... 4
3.1.3. Stop listening, OEM, ISQLPLUS, etc. .. 4
3.1.4. Upload the patch package... 4
4. Database Software Product Upgrades:... 5
4.1.1. Open Control X server access permissions... 5
4.1.2. Run runInstaller to enable the OUI installation interface... 5
5. Upgrade the database:... 11
5.1.1. Start upgrading and updating the data dictionary... 11
5.1.2. recompile the invalid object... 12
5.1.3. view the components, versions, and statuses installed in the database: 12
5.1.4. Enable listener, OEM and ISQLPLUS. 12
6. Summary... 13
6.1.1. New installation... 13
6.1.2. Non-completely installed... 13
6.1.3. Failed to upgrade and try the rollback mechanism... 14
1. Document update records
|
Time |
Modified |
Version Number |
Description |
|
2011.08.20 |
Kevin. Lu |
1.0.0 |
Document creation |
|
2011.08.27 |
Kevin. Lu |
1.0.1 |
Document Sorting |
2. Document Description
This document standardizes the process and operations for upgrading oracle10.2.0.1.0 to 10.2.0.5.0 for DBA personnel to refer to the database version upgrade process.
The upgrade procedure is as follows:
3. Preparations before the upgrade: 3.1.1. temporarily increase the size of the shared pool and java pool.
Make sure that the shared_pool_size and java_pool_size parameters are at least MB, and ensure that the catupgrd. SQL (10 Gb) upgrade script runs normally (catpatch. SQL in 9i)
[Root @ 10 upli ~] # Su-oracle
[Oracle @ www.linuxidc.com Disk1] $ sqlplus/as sysdba
SQL> startup
SQL> alter system set shared_pool_size = '150m' scope = spfile;
SQL> alter system set java_pool_size = '150m' scope = spfile;
SQL> shutdown immediate
3.1.2. Back up oracle software and databases
[Oracle @ www.linuxidc.com Disk1] $ cp-r $ ORACLE_HOME/product/10.2.0/db_1/bk/oracle_product_back
[Oracle @ www.linuxidc.com Disk1] $ tar-cvfz/bk/oracle_backup.tar.gz $ ORACLE_BASE/oradata/ora10g /*
3.1.3. Stop listening, OEM, ISQLPLUS, etc.
[Oracle @ www.linuxidc.com ~] $ Lsnrctl stop
[Oracle @ www.linuxidc.com ~] $ Emctl stop dbconsole
[Oracle @ www.linuxidc.com ~] $ Isqlplusctl stop
3.1.4. Upload a patch
Upload p8202632_10205_linux.zip to/bk and decompress the package:
[Oracle @ www.linuxidc.com bk] $ ls Disk1/
Install patch_note.htm response runInstaller stage
[Oracle @ www.linuxidc.com Disk1] $ export LANG = en