从oracle官网上下载相关patchset:
https://support.oracle.com/epmos/faces/PatchSearchResults?_adf.ctrl-state=qdu85yeys_9&_afrLoop=602692658891347
p8202632_10205_WINNT.zip 注意这个是windows 32bit的
1.安装过程的话和正常的安装一样,根据提示一步一步往下操作.(图形界面)
安装过程中遇到的问题
提示ORASLAX10.DLL被占用,关掉plsql developer后ok.
2.upgrade模式升级数据字典
C:\Users\Admin>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on 星期六 4月 8 11:42:14 2017
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
已连接到空闲例程。
SQL> startup upgrade
ORACLE 例程已经启动。
Total System Global Area 612368384 bytes
Fixed Size 1304728 bytes
Variable Size 138413928 bytes
Database Buffers 465567744 bytes
Redo Buffers 7081984 bytes
数据库装载完毕。
数据库已经打开。
SQL> select status from v$instance;
STATUS
------------------------
OPEN MIGRATE
SQL> @?/rdbms/admin/catupgrd.sql
3.编译无效对象.
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 612368384 bytes
Fixed Size 1304728 bytes
Variable Size 201328488 bytes
Database Buffers 402653184 bytes
Redo Buffers 7081984 bytes
数据库装载完毕。
数据库已经打开。
SQL> @?/rdbms/admin/utlrp.sql
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 32-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production