Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5695506
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类: Oracle

2009-02-20 18:59:09

10,启动oracle9.2.0.8 SYSDBA身份登陆到SQLPLUS,进行安装前的准备工作,看是否还有参数、表空间需要调整:

SQL>spool upgrade.info

SQL>@/home/db/oracle/10g/rdbms/admin/utlu102i.sql

SQL>spool off

 

Upgrade.info文件内容如下:

Oracle Database 10.2 Upgrade Information Utility    02-20-2009 11:03:34

.

**********************************************************************

Database:

**********************************************************************

--> name:       ORA

--> version:    9.2.0.8.0

--> compatible: 9.2.0.0.0

.

**********************************************************************

Logfiles: [make adjustments in the current environment]

**********************************************************************

--> The existing log files are adequate. No changes are required.

.

**********************************************************************

Tablespaces: [make adjustments in the current environment]

**********************************************************************

--> SYSTEM tablespace is adequate for the upgrade.

.... minimum required size: 590 MB

--> TEMP tablespace is adequate for the upgrade.

.... minimum required size: 58 MB

--> CWMLITE tablespace is adequate for the upgrade.

.... minimum required size: 17 MB

--> DRSYS tablespace is adequate for the upgrade.

.... minimum required size: 27 MB

--> EXAMPLE tablespace is adequate for the upgrade.

.... minimum required size: 140 MB

--> ODM tablespace is adequate for the upgrade.

.... minimum required size: 9 MB

--> XDB tablespace is adequate for the upgrade.

.... minimum required size: 47 MB

.

**********************************************************************

Update Parameters: [Update Oracle Database 10.2 init.ora or spfile]

**********************************************************************

WARNING: --> "streams_pool_size" is not currently defined and needs a value of

at least 50331648(注意,这里的参数需要调整)

.

**********************************************************************

Deprecated Parameters: [Update Oracle Database 10.2 init.ora or spfile]

**********************************************************************

-- No deprecated parameters found. No changes are required.

.

**********************************************************************

Obsolete Parameters: [Update Oracle Database 10.2 init.ora or spfile]

**********************************************************************

--> "hash_join_enabled"

.

**********************************************************************

Components: [The following database components will be upgraded or installed]

**********************************************************************

--> Oracle Catalog Views         [upgrade]  VALID

--> Oracle Packages and Types    [upgrade]  VALID

--> JServer JAVA Virtual Machine [upgrade]  VALID

...The 'JServer JAVA Virtual Machine' JAccelerator (NCOMP)

...is required to be installed from the 10g Companion CD.

--> Oracle XDK for Java          [upgrade]  VALID

--> Oracle Java Packages         [upgrade]  VALID

--> Oracle Text                  [upgrade]  VALID

--> Oracle XML Database          [upgrade]  VALID

--> Oracle Workspace Manager     [upgrade]  VALID

--> Oracle Data Mining           [upgrade]  VALID

--> OLAP Analytic Workspace      [upgrade]  UPGRADED

--> OLAP Catalog                 [upgrade]  VALID

--> Oracle OLAP API              [upgrade]  UPGRADED

--> Oracle interMedia            [upgrade]  VALID

...The 'Oracle interMedia Image Accelerator' is

...required to be installed from the 10g Companion CD.

--> Spatial                      [upgrade]  VALID

--> Oracle Ultra Search          [upgrade]  VALID

... To successfully upgrade Ultra Search, install it from

... the 10g Companion CD.

.

**********************************************************************

Miscellaneous Warnings

**********************************************************************

WARNING: --> Deprecated CONNECT role granted to some user/roles.

.... CONNECT role after upgrade has only CREATE SESSION privilege.

WARNING: --> Database contains stale optimizer statistics.

.... Refer to the 10g Upgrade Guide for instructions to update

.... statistics prior to upgrading the database.

.... Component Schemas with stale statistics:

....   SYS

....   XDB

....   WMSYS

....   ODM

....   OLAPSYS

....   MDSYS

....   WKSYS

.

**********************************************************************

SYSAUX Tablespace:

[Create tablespace in the Oracle Database 10.2 environment]

**********************************************************************

--> New "SYSAUX" tablespace

.... minimum required size for database upgrade: 500 MB

.

 

PL/SQL procedure successfully completed.

 

11,拷贝9iinitsid.ora/home/db/oracle/ora/dbs)文件到/home/db/oracle/10g/dbs目录下;

 

12,拷贝9i的密码文件orapwora到/home/db/oracle/10g/dbs目录下;

 

13,拷贝oracle9.2.0.8目录/home/db/oracle/ora/network下的tnsname.ora、listener.ora到/home/db/oracle/10g/network/admin目录;

 

 

 

 

阅读(1825) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~