oracle10.2.0.1升级到10.2.0.4
2015年9月8日 王清
实验环境:
2015年9月8日 王清
首先感谢那些将心得体会分享的技术大牛,在实验之前,我仔细阅读了网上大牛的升级文章,受益匪浅,感谢他们的无私分享。本文允许转载,但请注明出处和作者。
博客推荐:
麟峰的博客:http://blog.sina.com.cn/s/blog_491c2e8e0100ufth.html
Linux公社: http://www.linuxidc.com/Linux/2014-05/101879p3.htm
博客推荐:
麟峰的博客:http://blog.sina.com.cn/s/blog_491c2e8e0100ufth.html
Linux公社: http://www.linuxidc.com/Linux/2014-05/101879p3.htm
Redhat Linux5.5 x86_64
oracle 10.2.0.1
当前版本:
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
1.停掉所有的oracle服务。
$ emctl stop dbconsole
$ lsnrctl stop
SQL>shutdown immediate
2.备份ORACLE_BASE目录。数据库全备。
3.开始升级。
解压升级包: unzip p6810189_10204_Linux-x86-64.zip
$cd Disk1/
$./runInstaller
$sh $ORACLE_HOME/root.sh
4.升级后启动数据库
注意:直接startup启动数据库会提示: 启动报错:ora-01902 实例终止,强制关闭连接 。升级后启动用startup upgrade。然后执行下面两个脚本。
SQL> STARTUP UPGRADE
SQL> @?/rdbms/admin/utlu102i.sql
SQL> @?/rdbms/admin/catupgrd.sql
5.升级后版本 10.2.0.4.0
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29249734/viewspace-1794835/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29249734/viewspace-1794835/