新安装了一台数据库服务器,版本是10.2.0.1的,因为现在最新的是10.2.0.4的。版本低了,bug多。所以就对数据库做了一个升级。
服务器是windows2003的系统,都是可视话操作。下一步的问题。10.2.0.4的patchset里面也有详细的安装说明。之做个总结,是因为这次用了DBUA工具,以前做升级,都是用脚本来的。这次常个新鲜。基本步骤还是差不多。
升级步骤如下:
1.从metalink上下载10.2.0.4的patchset,编号是:p6810189
2.关闭数据库,做个冷备份,防止安装失败。
3.安装patchset软件,这里要注意,ORACLE_HOME要和以前的一样。
4.执行脚本或者用DBUA工具
5.检查确认升级是否成功。
下面是readme上面的说明:
UpgradingaRelease10.2Database
Afteryouinstallthepatchset,youmustperformthefollowingstepsoneverydatabaseassociatedwiththeupgradedOraclehome:
Note:
Ifyoudonotrunthecatupgrd.sqlscriptasdescribedinthissectionandyoustartupadatabasefornormaloperation,thenORA-01092:ORACLEinstanceterminated.DisconnectionforcederrorswilloccurandtheerrorORA-39700:databasemustbeopenedwithUPGRADEoptionwillbeinthealertlog.
|
1.Loginwithadministratorprivileges.
2.ForOracleRACinstallations,startlisteneroneachnodeoftheclusterasfollows:
C:/>ORACLE_BASE/ORACLE_HOME/bin/srvctlstartlistener-nnode
3.IfyouareusingAutomaticStorageManagement,starttheAutomaticStorageManagementinstance.
4.Forsingle-instanceinstallations,startthelistenerasfollows:
C:/>lsnrctlstart
5.Forsingle-instanceinstallations,useSQL*PlustologintothedatabaseastheSYSuserwithSYSDBAprivileges:
C:/>sqlplus/NOLOG
SQL>CONNECTSYSASSYSDBA
Enterpassword:SYS_password
Usersofsingle-instanceinstallationsnowproceedtostep7.
6.ForOracleRACinstallations:
A.UseSQL*PlustologintothedatabaseastheSYSuserwithSYSDBAprivileges:
C:/>sqlplus/NOLOG
SQL>CONNECTSYSASSYSDBA
Enterpassword:SYS_password
SQL>STARTUPNOMOUNT
B.SettheCLUSTER_DATABASEinitializationparametertoFALSE:
SQL>ALTERSYSTEMSETCLUSTER_DATABASE=FALSESCOPE=spfile;
C.Shutdownthedatabase:
SQL>SHUTDOWN
7.EnterthefollowingSQL*Pluscommands:
SQL>STARTUPUPGRADE
SQL>SPOOLpatch.log
SQL>@ORACLE_BASE/ORACLE_HOME/rdbms/admin/catupgrd.sql
SQL>SPOOLOFF
8.Reviewthepatch.logfileforerrorsandinspectthelistofcomponentsthatisdisplayedattheendofcatupgrd.sqlscript.
ThislistprovidestheversionandstatusofeachSERVERcomponentinthedatabase.
9.Ifnecessary,rerunthecatupgrd.sqlscriptaftercorrectinganyproblems.
10.Restartthedatabase:
SQL>SHUTDOWNIMMEDIATE
SQL>STARTUP
11.Runtheutlrp.sqlscripttorecompileallinvalidPL/SQLpackagesnowinsteadofwhenthepackagesareaccessedforthe firsttime.Thisstepisoptionalbutrecommended.
SQL>@ORACLE_BASE/ORACLE_HOME/rdbms/admin/utlrp.sql
Note:
Whenthe10.2.0.4patchsetisappliedtoanOracleDatabase10gStandardEditiondatabase,theremaybe54invalidobjectsaftertheutlrp.sqlscriptruns.Theseobjectsbelongtotheunsupportedcomponentsanddonotaffectthedatabaseoperation.
Ignoreanymessagesindicatingthatthedatabasecontainsinvalidrecyclebinobjectssimilartothefollowing:
BIN$4lzljWIt9gfgMFeM2hVSoA==$0
|
12.Runthefollowingcommandtocheckthestatusofallthecomponentsaftertheupgrade:
SQL>SELECTCOMP_NAME,VERSION,STATUSFROMSYS.DBA_REGISTRY;
Intheoutputoftheprecedingcommand,thestatusofallthecomponentsshouldbeVALIDforasuccessfulupgrade.
13.IfyouareusingtheOracleRecoveryManagercatalog,enterthefollowingcommand:
C:/>rmancatalogusername/password@alias
RMAN>UPGRADECATALOG;
14.ForOracleRACinstallations:
A.SettheCLUSTER_DATABASEinitializationparametertoTRUE:
SQL>ALTERSYSTEMSETCLUSTER_DATABASE=TRUESCOPE=spfile;
B.Restartthedatabase:
SQL>SHUTDOWNIMMEDIATE
SQL>STARTUP
C.Startanydatabaseservicesthatyouwanttouse:
C:/>ORACLE_BASE/ORACLE_HOME/bin/srvctlstartservice-ddb_name-sservice_name
15.ToconfigureandsecureEnterpriseManagerfollowthesesteps:
EnsurethedatabaseandListenerareoperational.
Inthecaseofasingleinstance,execute
emca-upgradedb
InthecaseofOracleRealApplicationClusters(RAC),execute
emca-upgradedb-cluster
DBUA工具提供了一个可视化的界面,它的作用等同于执行catupgrd.sql等脚本,dbua工具能升级Oracle的一些组件。组件升级之后,该工具会自动编译无效的对象,这个功能还是挺方便的。省得自己手动的去执行编译脚本了。
SQL>SELECTCOMP_NAME,VERSION,STATUSFROMSYS.DBA_REGISTRY;
COMP_NAME VERSION STATUS
OracleDatabaseCatalogViews10.2.0.4.0 VALID
OracleDatabasePackagesandTypes 10.2.0.4.0 VALID
OracleWorkspaceManager 10.2.0.4.3 VALID
JServerJAVAVirtualMachine 10.2.0.4.0 VALID
OracleXDK 10.2.0.4.0 VALID
OracleDatabaseJavaPackages10.2.0.4.0 VALID
OracleExpressionFilter 10.2.0.4.0 VALID
OracleDataMining10.2.0.4.0 VALID
OracleText 10.2.0.4.0 VALID
OracleXMLDatabase 10.2.0.4.0 VALID
OracleRuleManager 10.2.0.4.0 VALID
OracleinterMedia 10.2.0.4.0 VALID
OLAPAnalyticWorkspace 10.2.0.4.0 VALID
OracleOLAPAPI 10.2.0.4.0 VALID
OLAPCatalog 10.2.0.4.0 VALID
Spatial10.2.0.4.0 VALID
OracleEnterpriseManager 10.2.0.4.0 VALID
相关推荐
NetBackup Appliance Upgrade Guide - 3.3.0.1
3.升级成功后,请您删除/upgrade.aspx文件。 特别补充: 升级功能有: 1.系统新增了添加发货地址功能: 管理员后台对订单确认发货时添加发货地址,方便管理员对订单的发货管理,会员可以更加清楚发货情况。 2....
将Windows Server 2003(32Bit)下的Oracle 9.2.0.1升级到9.2.0.8,安装最新补丁
linux 双节点下 从 11.2.0.1 升级到 11.2.0.3 的详细操作文档
upgrade oracle 11.2.0.1 rac to 11.2.0.4
中兴B860AV2.1-T刷机固件包,下载固件 a ml_upgrade_package.img 本人花钱购买学习测试有效
oracle10g数据库的升级参考,介绍从老版本数据库升级到10g.
如果你第一次跑Flowable6时,提示jar版本跟数据库版本不一致时,请下载这个脚本,这个是oracle版的。到现在都没搞懂,难道Flowable的开发人员都没测试过么,还是说我忽略了啥东西导致失败,项目第一次用Flowable,...
LearnSite(swfupload版) 1.2.0.1 20120708b 更新历史记录: 2012.7.8b cookies登录加密判断;管理员使用session判断;b:老师登录循环跳转修正 2012.7.6 学生平台背景添加两侧边框阴影;优秀作品显示已发布的学案 ...
Oracle Database 11g is a significant upgrade from prior releases of Oracle. New features give developers, database administrators, and end users greater control over the storage, processing, and ...
Windows10Upgrade9252.zip
中兴B860AV2.1-T 第三方固件包可装app,下载刷机固件 a ml_upgrade_package.img 亲测有效
SET COLLECTION TYPE AS A BIND VARIABLE IS VERY SLOW AFTER UPGRADE TO 11.2.0.4 18166577 JAVA STORED PROCEDURE FAILS WITH ORA-29532 IN 11.2.0.4 18458318 LOW QUALITY FONT IMAGE FILE CREATED USING JAVA ...
目前centos6已经停止更新,rehdat提供了centos6升级至centos7的工具,一般网络下载速度感人,此资源包含升级所需的preupgrade-assistant、preupgrade-assistant-contents、preupgrade-assistant-ui、redhat-upgrade-...
-On ST-Link V2, upgrade firmware to V2.J27.S6, -需要其他版本请关注我
You can migrate your settings from Oracle SQL Developer 1.2.1. or Oracle SQL Developer 1.5.x. See the Release Notes 2.1 for more details. JDK Support Oracle SQL Developer 2.1 is shipped with JDK1.6...
USB升级(前提:能开机):第一种:upgrade_loader.pkg ,(1)从本站上拷贝所需批次的升级软件解压后,如出现文件名为upgrade_loader.pkg 的升级软件拷贝到U 盘根目录下; 注意升级软件必须是PKG 文件(不是bin...
GP附录H测试规范
RAC 11.2.0.4 升级到 12.1.0.2 详细步骤 --GI upgrade - 11.2 to 12C
oracle upgrade from 11.1.0.6 to 11.2.0.4,个人实验的操作文档及注意事项!