Upgrading to Oracle Database 11g-1

Upgrading to Oracle Database 11g  2008-10-06 16:31:40

分类: Oracle

This article provides a brief overview of the areas involved in upgrading existing databases to Oracle 11g Release 1. The article provides the minumum information needed when preparing for the 11g Database Administation OCP upgrade exam, including:
The whole migration process is beyond the scope of this article so please refer to the  Upgrading to the New Release document for further information.

Supported Upgrade Paths

Direct upgrades to 11g are possible from existing databases with versions 9.2.0.4+, 10.1.0.2+ or 10.2.0.1+. Upgrades from other versions are supported only via intermediate upgrades to a supported upgrade version.

The preferred upgrade method is to use the Database Upgrade Assistant (DBUA), a GUI tool that performs all necessary prerequisite checks and operations before upgrading the specified instances. The DBUA can be started directly from the Oracle Universal Installer (OUI) or separately after the software installation is complete.

Alternatively you may which to perform a manual upgrade which involves the following steps:
  • Backup the database.
  • In UNIX/Linux environments, set the $ORACLE_HOME and $PATH variables to point to the new 11g Oracle home.
  • Analyze the existing instance using the "$ORACLE_HOME/rdbms/admin/utlu111i.sql" script, explained below.
  • Start the original database using the STARTUP UPGRADE command and proceed with the upgrade by running the "$ORACLE_HOME/rdbms/admin/catupgrd.sql" script.
  • Recompile invalid objects.
  • Restart the database.
  • Run the "$ORACLE_HOME/rdbms/admin/utlu111s.sql" script and check the result of the upgrade.
  • Troubleshoot any issues or abort the upgrade.
An alternative to these upgrade methods is to use the export and import utilities (exp/imp or expdp/impdp). This enables upgrades from a wider variety of Oracle versions and has the advantage of leaving the original database available as a fallback option. The down sides of this approach are it is much slower, and it requires enough disk space to hold two copies of the database and the export dump file.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值